rpc

package
v0.0.0-...-6b053b6 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Go

func Go()

func RegistServer

func RegistServer(className string, class interface{}, metadata string)

func Start

func Start(cfg *Cluster_config)

func StartCli

func StartCli(cfg *Cluster_config)

func StartSvr

func StartSvr(cfg *Cluster_config)

Types

type Args

type Args struct {
	A int
	B int
}

type Cluster_config

type Cluster_config struct {
	ConsulAddr []string
	ListenAddr string
	ConsulPath string
}

type Reply

type Reply struct {
	C int
}

Jump to

Keyboard shortcuts

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