Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ap ¶
type Ap struct {
ID string
ServerAddr string
ApName string
KeyFile string
Version *common.Version
Services map[string]*Service
sync.Mutex
// contains filtered or unexported fields
}
func (*Ap) SetReconnectTimeout ¶
type SSHListener ¶ added in v0.1.11
func NewSSHListener ¶ added in v0.1.11
func NewSSHListener(source chan net.Conn) *SSHListener
func (*SSHListener) Addr ¶ added in v0.1.11
func (l *SSHListener) Addr() (addr net.Addr)
func (*SSHListener) Close ¶ added in v0.1.11
func (l *SSHListener) Close() error
type Service ¶
type Service struct {
Name string
Addr string
ForeverFunc func(sl *ServiceListener)
// contains filtered or unexported fields
}
type ServiceConfig ¶ added in v0.1.5
func ParseServiceDSN ¶ added in v0.1.5
func ParseServiceDSN(dsn string) (cfg ServiceConfig, err error)
func (ServiceConfig) String ¶ added in v0.1.5
func (cfg ServiceConfig) String() (s string)
type ServiceListener ¶
func (*ServiceListener) Close ¶
func (ln *ServiceListener) Close()
func (*ServiceListener) OnClose ¶
func (ln *ServiceListener) OnClose(f ...func()) *ServiceListener
Click to show internal directories.
Click to hide internal directories.