Documentation ¶
Index ¶
Constants ¶
View Source
const ( DumpForwarderTables byte = 1 UpdateRoute byte = 2 )
View Source
const (
FlagsCfgMapKey = "@flags"
)
Variables ¶
This section is empty.
Functions ¶
func LoadConfigMap ¶
func SetConfigMapFlags ¶
Types ¶
type Config ¶
type Config struct { Id *identity.TokenId Forwarder *forwarder.Options Trace struct { Handler *channel2.TraceHandler } Profile struct { Memory struct { Path string Interval time.Duration } CPU struct { Path string } } Ctrl struct { Endpoint transport.Address Options *channel2.Options } Link struct { Listeners []map[interface{}]interface{} Dialers []map[interface{}]interface{} } Dialers map[string]xgress.OptionsData Listeners []listenerBinding Transport map[interface{}]interface{} // contains filtered or unexported fields }
func LoadConfig ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) HandleDebug ¶ added in v0.15.24
func (router *Router) HandleDebug(conn io.ReadWriter) error
type RouterMonitor ¶
type RouterMonitor interface {
Monitor()
}
Click to show internal directories.
Click to hide internal directories.