rpc

package
v0.0.0-...-0d2f101 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRPCMessagesFromProto

func CreateRPCMessagesFromProto(request Request, docsRemoteRoute, protosRemoteRoute string) (*dynamic.Message, *dynamic.Message, error)

CreateRPCMessagesFromProto outputs the reply and args messages types for a given RPC route using protoparse and dynamic messages

Types

type Request

type Request struct {
	Route        string
	FrontendType string
	ServerID     string
	Meta         string // Data itself
}

Request represents a request received by the server to be used in RPC

Jump to

Keyboard shortcuts

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