rpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Server

func Server()

Server ... run a http server,

Types

type HTTPClient

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

HTTPClient ...

func NewClient

func NewClient(n string, a string) (*HTTPClient, error)

NewClient ... create a new Http Client

func (*HTTPClient) Call

func (c *HTTPClient) Call(method string, args interface{}) (string, error)

Call ... call a method from server

Jump to

Keyboard shortcuts

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