sigsvr

package
v0.0.0-...-6425a1c Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 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
* Copyright (C) 2018 The ZeepinChain Authors * This file is part of The ZeepinChain library.
* Copyright (C) 2018 The ZeepinChain Authors * This file is part of The ZeepinChain library.

Jump to

Keyboard shortcuts

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