web

package
v0.0.0-...-30cdb9e Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Echo

func Echo(w http.ResponseWriter, r *http.Request)

func Init

func Init()

func RPCClient

func RPCClient()

func RPCServer

func RPCServer()

func SampleWeb

func SampleWeb()

Types

type Args

type Args struct {
	A, B int
}

type Arith

type Arith int

func (*Arith) Divide

func (t *Arith) Divide(args *Args, quotient *Quotient) error

func (*Arith) Multiply

func (t *Arith) Multiply(args *Args, reply *int) error

type Quotient

type Quotient struct {
	Quo, Rem int
}

type User

type User struct {
	Name string `json:"name"`
	Uid  string `json:"uid"`
}

Jump to

Keyboard shortcuts

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