Documentation ¶
Index ¶
Constants ¶
View Source
const (
LatencyCheckInterval = 30 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { Authenticate() error Dial(serviceName string) (edge.ServiceConn, error) Listen(serviceName string) (edge.Listener, error) ListenWithOptions(serviceName string, options *edge.ListenOptions) (edge.Listener, error) GetServiceId(serviceName string) (string, bool, error) GetServices() ([]edge.Service, error) GetService(serviceName string) (*edge.Service, bool) GetSession(id string) (*edge.Session, error) GetBindSession(id string) (*edge.Session, error) Metrics() metrics.Registry // Close closes any connections open to edge routers Close() }
func NewContext ¶
func NewContext() Context
func NewContextWithConfig ¶
Click to show internal directories.
Click to hide internal directories.