api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const HelloServiceName = "path/to/pkg.HelloService"

Variables

This section is empty.

Functions

func RegisterHelloService

func RegisterHelloService(svc HelloServiceInterface) error

Types

type HelloServiceClient

type HelloServiceClient struct {
	*rpc.Client
}

func DialHelloService

func DialHelloService(network, address string) (*HelloServiceClient, error)

func (*HelloServiceClient) Hello

func (p *HelloServiceClient) Hello(request string, reply *string) error

type HelloServiceInterface

type HelloServiceInterface = interface {
	Hello(request string, reply *string) error
}

Jump to

Keyboard shortcuts

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