local

package
v0.0.0-...-838a8ca Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Payload []byte
}

Request represents incoming request data.

type Response

type Response struct {
	Payload []byte
}

Response represents outgoing response data.

type Service

type Service struct {
	Handler http.Handler
}

Service represents the RPC service that will be invoke funky handlers.

func (Service) Invoke

func (svc Service) Invoke(in *Request, out *Response) error

Invoke is an RPC handler that is called when there is an incoming request.

Jump to

Keyboard shortcuts

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