Documentation ¶
Index ¶
- type ServeTeleport
- func (s *ServeTeleport) DockerDefaults() conf.DockerDefaults
- func (s *ServeTeleport) Init()
- func (s ServeTeleport) MarshalDefaults(v interface{})
- func (s *ServeTeleport) RegisterCallRouter(route interface{}, plugins ...tp.Plugin) []string
- func (s *ServeTeleport) RegisterPushRouter(route interface{}, plugins ...tp.Plugin) []string
- func (s *ServeTeleport) Start() error
- func (s *ServeTeleport) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServeTeleport ¶
type ServeTeleport struct { Network string `conf:"env"` IP string `conf:"env"` Port uint16 `conf:"env"` DefaultDialTimeout time.Duration `conf:"env"` RedialTimes int32 `conf:"env"` RedialInterval time.Duration `conf:"env"` DefaultBodyCodec string `conf:"env"` DefaultSessionAge time.Duration `conf:"env"` DefaultContextAge time.Duration `conf:"env"` SlowCometDuration time.Duration `conf:"env"` PrintDetail bool `conf:"env"` CountTime bool `conf:"env"` Plugins []tp.Plugin `conf:"-"` // contains filtered or unexported fields }
func (*ServeTeleport) DockerDefaults ¶
func (s *ServeTeleport) DockerDefaults() conf.DockerDefaults
func (*ServeTeleport) Init ¶
func (s *ServeTeleport) Init()
func (ServeTeleport) MarshalDefaults ¶
func (s ServeTeleport) MarshalDefaults(v interface{})
func (*ServeTeleport) RegisterCallRouter ¶
func (s *ServeTeleport) RegisterCallRouter(route interface{}, plugins ...tp.Plugin) []string
func (*ServeTeleport) RegisterPushRouter ¶
func (s *ServeTeleport) RegisterPushRouter(route interface{}, plugins ...tp.Plugin) []string
func (*ServeTeleport) Start ¶
func (s *ServeTeleport) Start() error
func (*ServeTeleport) Stop ¶
func (s *ServeTeleport) Stop() error
Click to show internal directories.
Click to hide internal directories.