server

package
v0.0.0-...-1a550d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL