reflection

package
v0.0.0-...-1f80838 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(
	ctx context.Context,
	addr string,
	method string,
	payload []byte,
) ([]byte, error)

Types

type Message

type Message struct {
	Payload []byte
}

func (*Message) Marshal

func (m *Message) Marshal() ([]byte, error)

func (*Message) ProtoMessage

func (m *Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) Unmarshal

func (m *Message) Unmarshal(buf []byte) error

type Reflection

type Reflection struct {
	Services        []string
	FileDescriptors [][]byte
}

func GetReflection

func GetReflection(ctx context.Context, addr string) (*Reflection, error)

Jump to

Keyboard shortcuts

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