Documentation ¶
Index ¶
Constants ¶
View Source
const ( Token = "X-API-Tunnel-Token" Params = "X-API-Tunnel-Params" )
Variables ¶
This section is empty.
Functions ¶
func NewPeerManager ¶
func NewPeerManager(ctx context.Context, context *config.ScaledContext, dialer *remotedialer.Server) (peermanager.PeerManager, error)
func NewTunnelServer ¶
func NewTunnelServer(authorizer *Authorizer) *remotedialer.Server
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(context *config.ScaledContext) *Authorizer
func (*Authorizer) AuthorizeLocalNode ¶
Click to show internal directories.
Click to hide internal directories.