Documentation ¶
Index ¶
Constants ¶
View Source
const (
DataScanPeriodOfMin = time.Duration(100) * time.Millisecond
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigServer ¶
type ConfigServer struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *ConfigServer
func (*ConfigServer) Close ¶
func (cs *ConfigServer) Close()
func (*ConfigServer) Start ¶
func (cs *ConfigServer) Start()
type PipeServer ¶
type PipeServer struct {
// contains filtered or unexported fields
}
func NewPipeServer ¶
func NewPipeServer(file string, period time.Duration) *PipeServer
func (*PipeServer) Close ¶
func (ps *PipeServer) Close()
func (*PipeServer) GetDataCh ¶
func (ps *PipeServer) GetDataCh() <-chan []byte
func (*PipeServer) Start ¶
func (ps *PipeServer) Start() error
Click to show internal directories.
Click to hide internal directories.