rpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

README

rpc

Test

Error Case

panic: runtime error: invalid memory address or nil pointer dereference

  • client의 WithTimeout()에 설정된 시간이 초과되면 발생 : Check the client code

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientStream added in v0.2.0

type ClientStream struct {
	Handler *DefaultHandler
	// contains filtered or unexported fields
}

func NewClientStream added in v0.2.0

func NewClientStream(address string) (*ClientStream, error)

func (*ClientStream) Close added in v0.2.0

func (c *ClientStream) Close()

func (*ClientStream) Ping added in v0.2.0

func (c *ClientStream) Ping() (*pb.Empty, error)

func (*ClientStream) RunICode added in v0.2.0

func (cs *ClientStream) RunICode(request *pb.Request, callBack tesseract.CallBack) error

func (*ClientStream) SetHandler added in v0.2.0

func (cs *ClientStream) SetHandler(handler *DefaultHandler)

func (*ClientStream) StartHandle added in v0.2.0

func (cs *ClientStream) StartHandle()

type DefaultHandler added in v0.2.0

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

func NewDefaultHandler added in v0.2.0

func NewDefaultHandler() *DefaultHandler

func (*DefaultHandler) AddCallback added in v0.2.0

func (d *DefaultHandler) AddCallback(uuid string, callback tesseract.CallBack)

func (*DefaultHandler) Handle added in v0.2.0

func (d *DefaultHandler) Handle(response *pb.Response, err error)

Jump to

Keyboard shortcuts

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