Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultBufferSize represents default buffer size
DefaultBufferSize = 10480
)
Variables ¶
This section is empty.
Functions ¶
func ExtractMessage ¶
ExtractMessage extracts message from clients
Types ¶
type UnixDomainSocket ¶
type UnixDomainSocket struct {
// contains filtered or unexported fields
}
UnixDomainSocket struct
func NewUnixDomainSocket ¶
func NewUnixDomainSocket(filename string, buffersize ...int) *UnixDomainSocket
NewUnixDomainSocket create new socket
func (*UnixDomainSocket) SetContextHandler ¶
func (us *UnixDomainSocket) SetContextHandler(f func(string) string)
SetContextHandler set handler for server
func (*UnixDomainSocket) StartServer ¶
func (us *UnixDomainSocket) StartServer() error
StartServer start for server
Click to show internal directories.
Click to hide internal directories.