Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToPipe ¶
func ConnectToPipe(pipePath string, handler HandlerFunc) error
Types ¶
type Conn ¶ added in v2.7.0
type Conn struct { MsgChan chan []byte // contains filtered or unexported fields }
func (Conn) ReadMessage ¶ added in v2.7.0
func (Conn) WriteMessage ¶ added in v2.7.0
type HandlerFunc ¶ added in v2.7.0
type PipeServer ¶
type PipeServer struct { Logger logger.Logger // contains filtered or unexported fields }
func NewPipeServer ¶
func NewPipeServer(pipePath string) (*PipeServer, error)
func (*PipeServer) Listen ¶
func (srv *PipeServer) Listen(handler HandlerFunc) error
func (*PipeServer) Start ¶ added in v2.7.0
func (srv *PipeServer) Start(handler HandlerFunc)
func (*PipeServer) Stop ¶ added in v2.7.0
func (srv *PipeServer) Stop() error
Click to show internal directories.
Click to hide internal directories.