Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
Types ¶
type Attachable ¶
Attachable defines a feature that can be expsed on a session
type Caller ¶
type Caller interface {
	Context() context.Context
	Supports(method string) bool
	Conn() *grpc.ClientConn
	Name() string
}
    Caller can invoke requests on the session
type Manager ¶
type Manager struct {
	// contains filtered or unexported fields
}
    Manager is a controller for accessing currently active sessions
func (*Manager) HandleConn ¶
HandleConn handles an incoming raw connection
func (*Manager) HandleHTTPRequest ¶
func (sm *Manager) HandleHTTPRequest(ctx context.Context, w http.ResponseWriter, r *http.Request) error
HandleHTTPRequest handles an incoming HTTP request
type Session ¶
type Session struct {
	// contains filtered or unexported fields
}
    Session is a long running connection between client and a daemon
func NewSession ¶
NewSession returns a new long running session
func (*Session) Allow ¶
func (s *Session) Allow(a Attachable)
Allow enable a given service to be reachable through the grpc session
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       Package auth is a generated protocol buffer package. 
         | 
      Package auth is a generated protocol buffer package. | 
| 
       Package filesync is a generated protocol buffer package. 
         | 
      Package filesync is a generated protocol buffer package. | 
| 
       Package secrets is a generated protocol buffer package. 
         | 
      Package secrets is a generated protocol buffer package. | 
| 
       Package sshforward is a generated protocol buffer package. 
         | 
      Package sshforward is a generated protocol buffer package. | 
 Click to show internal directories. 
   Click to hide internal directories.