Documentation ¶
Index ¶
Constants ¶
View Source
const (
LatencyCheckInterval = 30 * time.Second
)
Variables ¶
View Source
var NotAuthorized = notAuthorized{}
Functions ¶
This section is empty.
Types ¶
type AuthFailure ¶
type AuthFailure struct {
// contains filtered or unexported fields
}
func (AuthFailure) Error ¶
func (e AuthFailure) Error() string
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 ¶
type NotAccessible ¶
type NotAccessible struct {
// contains filtered or unexported fields
}
func (NotAccessible) Error ¶
func (e NotAccessible) Error() string
Click to show internal directories.
Click to hide internal directories.