Documentation ¶
Index ¶
- func NewCircuit(circuit *network.Circuit) *mgmt_pb.Circuit
- type BindHandler
- type ConnectHandler
- type MetricsStreamHandler
- type MgmtAccepter
- type SessionsStreamHandler
- func (handler *SessionsStreamHandler) CircuitUpdated(sessionId *identity.TokenId, circuit *network.Circuit)
- func (handler *SessionsStreamHandler) SessionCreated(sessionId *identity.TokenId, clientId *identity.TokenId, serviceId string, ...)
- func (handler *SessionsStreamHandler) SessionDeleted(sessionId *identity.TokenId)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindHandler ¶
type BindHandler struct {
// contains filtered or unexported fields
}
func NewBindHandler ¶
func NewBindHandler(network *network.Network, xmgmts []xmgmt.Xmgmt) *BindHandler
func (*BindHandler) BindChannel ¶
func (bindHandler *BindHandler) BindChannel(ch channel2.Channel) error
type ConnectHandler ¶
type ConnectHandler struct {
// contains filtered or unexported fields
}
func NewConnectHandler ¶
func NewConnectHandler(network *network.Network) *ConnectHandler
func (*ConnectHandler) HandleConnection ¶
func (h *ConnectHandler) HandleConnection(hello *channel2.Hello, certificates []*x509.Certificate) error
type MetricsStreamHandler ¶
type MetricsStreamHandler struct {
// contains filtered or unexported fields
}
func (*MetricsStreamHandler) AcceptMetrics ¶
func (handler *MetricsStreamHandler) AcceptMetrics(msg *metrics_pb.MetricsMessage)
type MgmtAccepter ¶
type MgmtAccepter struct {
// contains filtered or unexported fields
}
func NewMgmtAccepter ¶
func NewMgmtAccepter(listener channel2.UnderlayListener, options *channel2.Options) *MgmtAccepter
func (*MgmtAccepter) Run ¶
func (mgmtAccepter *MgmtAccepter) Run()
type SessionsStreamHandler ¶
type SessionsStreamHandler struct {
// contains filtered or unexported fields
}
func (*SessionsStreamHandler) CircuitUpdated ¶
func (handler *SessionsStreamHandler) CircuitUpdated(sessionId *identity.TokenId, circuit *network.Circuit)
func (*SessionsStreamHandler) SessionCreated ¶
func (*SessionsStreamHandler) SessionDeleted ¶
func (handler *SessionsStreamHandler) SessionDeleted(sessionId *identity.TokenId)
Source Files ¶
- accept.go
- bind.go
- close.go
- connect.go
- create_router.go
- create_service.go
- create_terminator.go
- get_service.go
- get_terminator.go
- inspect.go
- list_links.go
- list_routers.go
- list_services.go
- list_sessions.go
- list_terminators.go
- remove_router.go
- remove_service.go
- remove_session.go
- remove_terminator.go
- set_link_cost.go
- set_link_down.go
- set_terminator_cost.go
- snapshot_db.go
- stream_metrics.go
- stream_sessions.go
- stream_toggle_pipe_traces.go
- stream_traces.go
Click to show internal directories.
Click to hide internal directories.