sigsvr

package
v0.0.0-...-e58dc6b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefCliRpcSvr = NewCliRpcServer()

Functions

This section is empty.

Types

type CliRpcServer

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

func NewCliRpcServer

func NewCliRpcServer() *CliRpcServer

func (*CliRpcServer) Close

func (this *CliRpcServer) Close()

func (*CliRpcServer) GetHandler

func (this *CliRpcServer) GetHandler(method string) func(req *common.CliRpcRequest, resp *common.CliRpcResponse)

func (*CliRpcServer) Handler

func (this *CliRpcServer) Handler(w http.ResponseWriter, r *http.Request)

func (*CliRpcServer) RegHandler

func (this *CliRpcServer) RegHandler(method string, handler func(req *common.CliRpcRequest, resp *common.CliRpcResponse))

func (*CliRpcServer) Start

func (this *CliRpcServer) Start(port uint)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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