Documentation ¶
Overview ¶
Package next provides a mechanism for chained networkservice.MonitorConnection{Server,Client}s to call the next element in the chain.
Index ¶
- func MonitorConnectionServer(ctx context.Context) networkservice.MonitorConnectionServer
- func NewMonitorConnectionServer(servers ...networkservice.MonitorConnectionServer) networkservice.MonitorConnectionServer
- func NewWrappedMonitorConnectionServer(wrapper MonitorConnectionsServerWrapper, ...) networkservice.MonitorConnectionServer
- type MonitorConnectionsServerChainer
- type MonitorConnectionsServerWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorConnectionServer ¶
func MonitorConnectionServer(ctx context.Context) networkservice.MonitorConnectionServer
MonitorConnectionServer -
Returns the networkservice.MonitorConnectionServer to be called in the chain from the context.Context
func NewMonitorConnectionServer ¶
func NewMonitorConnectionServer(servers ...networkservice.MonitorConnectionServer) networkservice.MonitorConnectionServer
NewMonitorConnectionServer - chains together servers into a single networkservice.MonitorConnectionServer
func NewWrappedMonitorConnectionServer ¶
func NewWrappedMonitorConnectionServer(wrapper MonitorConnectionsServerWrapper, servers ...networkservice.MonitorConnectionServer) networkservice.MonitorConnectionServer
NewWrappedMonitorConnectionServer - creates a chain of servers with each one wrapped in wrapper
Types ¶
type MonitorConnectionsServerChainer ¶
type MonitorConnectionsServerChainer func(...networkservice.MonitorConnectionServer) networkservice.MonitorConnectionServer
MonitorConnectionsServerChainer - a function that chains together a list of networkservice.MonitorConnectionServers
type MonitorConnectionsServerWrapper ¶
type MonitorConnectionsServerWrapper func(networkservice.MonitorConnectionServer) networkservice.MonitorConnectionServer
MonitorConnectionsServerWrapper - a function that wraps around a networkservice.MonitorConnectionServer
Click to show internal directories.
Click to hide internal directories.