rpc

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:45 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCall

func ClientCall(client *rpc.Client, serviceMethod string, args interface{}, reply interface{}) error

func ClientClose

func ClientClose(client *rpc.Client) error

func ClientGo

func ClientGo(client *rpc.Client, serviceMethod string, args interface{}, reply interface{}, done chan *rpc.Call) *rpc.Call

func Dial

func Dial(network, address string) (*rpc.Client, error)

func DialHTTP

func DialHTTP(network, address string) (*rpc.Client, error)

func DialHTTPPath

func DialHTTPPath(network, address, path string) (*rpc.Client, error)

func NewClient

func NewClient(conn io.ReadWriteCloser) *rpc.Client

func NewClientWithCodec

func NewClientWithCodec(codec rpc.ClientCodec) *rpc.Client

func NewServer

func NewServer() *rpc.Server

func Register

func Register(rcvr interface{}) error

func RegisterName

func RegisterName(name string, rcvr interface{}) error

func ServeRequest

func ServeRequest(codec rpc.ServerCodec) error

func ServerErrorError

func ServerErrorError(e rpc.ServerError) string

func ServerRegister

func ServerRegister(server *rpc.Server, rcvr interface{}) error

func ServerRegisterName

func ServerRegisterName(server *rpc.Server, name string, rcvr interface{}) error

func ServerServeRequest

func ServerServeRequest(server *rpc.Server, codec rpc.ServerCodec) error

Types

This section is empty.

Directories

Path Synopsis
This file has automatically been generated on Wed Feb 26 15:50:45 +05 2020.
This file has automatically been generated on Wed Feb 26 15:50:45 +05 2020.

Jump to

Keyboard shortcuts

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