unixSocket

package
v0.0.0-...-63b2ac5 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: GPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientMain

func ClientMain()

func HandleUnixConnRequest

func HandleUnixConnRequest(ctx context.Context, request *UnixSocketRequest) (err error)

func Main

func Main()

func ServerMain

func ServerMain()

func UnixConnChan

func UnixConnChan(ctx context.Context, request *UnixSocketRequest)

Types

type ClientBootargs

type ClientBootargs struct {
	// contains filtered or unexported fields
}

func (*ClientBootargs) ExecFunc

func (cliboot *ClientBootargs) ExecFunc() func()

func (*ClientBootargs) FlagDefine

func (cliboot *ClientBootargs) FlagDefine() func(*flag.FlagSet)

type ServerBootArgs

type ServerBootArgs struct {
	// contains filtered or unexported fields
}

func (*ServerBootArgs) ExecFunc

func (*ServerBootArgs) ExecFunc() func()

func (*ServerBootArgs) FlagDefine

func (*ServerBootArgs) FlagDefine() func(flag *flag.FlagSet)

type UnixSocketAddr

type UnixSocketAddr struct {
	// contains filtered or unexported fields
}

func NewUnixSocket

func NewUnixSocket(filepath string, size int) *UnixSocketAddr

type UnixSocketRequest

type UnixSocketRequest struct {
	// contains filtered or unexported fields
}

type UnixSocketServer

type UnixSocketServer interface {
	CreateServer(socket *UnixSocketAddr)
}

type UnixSocketServerImpl

type UnixSocketServerImpl struct {
}

func (UnixSocketServerImpl) CreateServer

func (this UnixSocketServerImpl) CreateServer(socket *UnixSocketAddr)

func (UnixSocketServerImpl) HandlerServerConn

func (this UnixSocketServerImpl) HandlerServerConn(conn *net.Conn)

Jump to

Keyboard shortcuts

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