Documentation
¶
Index ¶
- type Creator
- type Forwarder
- func (fw *Forwarder) AddServices(s ...*Service)
- func (fw *Forwarder) Close() error
- func (fw *Forwarder) GetService(name string) (s *Service)
- func (fw *Forwarder) IsRunning() bool
- func (fw *Forwarder) Run() (err error)
- func (fw *Forwarder) SetReconnectTimeout(t time.Duration)
- func (fw *Forwarder) Setup(appender task.Appender) (err error)
- func (fw *Forwarder) Start(done func()) (stop task.Stoper, err error)
- func (fw *Forwarder) Stop()
- type IsServiceRunningError
- type Service
- func (s *Service) IsRunning() bool
- func (s *Service) Listen() (err error)
- func (s *Service) PostTaskStart(r *task.Runner)
- func (s *Service) Run() (err error)
- func (s *Service) Setup(appender task.Appender) error
- func (s *Service) Start(done func()) (stop task.Stoper, err error)
- func (s *Service) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Forwarder ¶
type Forwarder struct {
ServerAddr string
UserName string
ApName string
KeyFile string
sync.Mutex
// contains filtered or unexported fields
}
func (*Forwarder) AddServices ¶
func (*Forwarder) GetService ¶
func (*Forwarder) SetReconnectTimeout ¶
type IsServiceRunningError ¶
type IsServiceRunningError struct {
// contains filtered or unexported fields
}
func (IsServiceRunningError) Error ¶
func (e IsServiceRunningError) Error() string
type Service ¶
func (*Service) PostTaskStart ¶
Click to show internal directories.
Click to hide internal directories.