proto

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEvalProtoFile

func RegisterEvalProtoFile(protoFile string)

func RegisterEvalProtoFileBytes

func RegisterEvalProtoFileBytes(gzipped []byte)

func RegisterEvalProtoFileDesc

func RegisterEvalProtoFileDesc(fileDesc *descriptor.FileDescriptorProto)

func UngzipBytes

func UngzipBytes(gzipped []byte) ([]byte, error)

Types

type EvalMarshalProtoMacro

type EvalMarshalProtoMacro struct {
	ProtoPkg  string       `ko:"name=protoPkg"`
	ProtoName string       `ko:"name=protoName"`
	MsgType   reflect.Type `ko:"name=msgType"` // MsgType is a proto message go struct
}

func (*EvalMarshalProtoMacro) Doc

func (m *EvalMarshalProtoMacro) Doc() string

func (*EvalMarshalProtoMacro) Help

func (m *EvalMarshalProtoMacro) Help() string

func (*EvalMarshalProtoMacro) Invoke

func (m *EvalMarshalProtoMacro) Invoke(span *Span, arg Arg) (returns Return, effect Effect, err error)

func (*EvalMarshalProtoMacro) Label

func (m *EvalMarshalProtoMacro) Label() string

func (*EvalMarshalProtoMacro) MacroID

func (m *EvalMarshalProtoMacro) MacroID() string

func (*EvalMarshalProtoMacro) MacroSheathString

func (m *EvalMarshalProtoMacro) MacroSheathString() *string

type EvalProtoEnumValueMacro

type EvalProtoEnumValueMacro struct {
	ProtoPkg  string `ko:"name=protoPkg"`
	EnumName  string `ko:"name=enumName"`
	ValueName string `ko:"name=valueName"`
	Number    int32  `ko:"name=number"`
}

func (*EvalProtoEnumValueMacro) Doc

func (*EvalProtoEnumValueMacro) Help

func (m *EvalProtoEnumValueMacro) Help() string

func (*EvalProtoEnumValueMacro) Invoke

func (m *EvalProtoEnumValueMacro) Invoke(span *Span, arg Arg) (returns Return, effect Effect, err error)

func (*EvalProtoEnumValueMacro) Label

func (m *EvalProtoEnumValueMacro) Label() string

func (*EvalProtoEnumValueMacro) MacroID

func (m *EvalProtoEnumValueMacro) MacroID() string

func (*EvalProtoEnumValueMacro) MacroSheathString

func (m *EvalProtoEnumValueMacro) MacroSheathString() *string

type EvalProtoMessageMacro

type EvalProtoMessageMacro struct {
	ProtoPkg  string       `ko:"name=protoPkg"`
	ProtoName string       `ko:"name=protoName"`
	MsgType   reflect.Type `ko:"name=msgType"` // MsgType is a proto message go struct
}

func (*EvalProtoMessageMacro) Doc

func (m *EvalProtoMessageMacro) Doc() string

func (*EvalProtoMessageMacro) Help

func (m *EvalProtoMessageMacro) Help() string

func (*EvalProtoMessageMacro) Invoke

func (m *EvalProtoMessageMacro) Invoke(span *Span, arg Arg) (returns Return, effect Effect, err error)

func (*EvalProtoMessageMacro) Label

func (m *EvalProtoMessageMacro) Label() string

func (*EvalProtoMessageMacro) MacroID

func (m *EvalProtoMessageMacro) MacroID() string

func (*EvalProtoMessageMacro) MacroSheathString

func (m *EvalProtoMessageMacro) MacroSheathString() *string

type EvalUnmarshalProtoMacro

type EvalUnmarshalProtoMacro struct {
	ProtoPkg  string       `ko:"name=protoPkg"`
	ProtoName string       `ko:"name=protoName"`
	MsgType   reflect.Type `ko:"name=msgType"` // MsgType is a proto message go struct
}

func (*EvalUnmarshalProtoMacro) Doc

func (*EvalUnmarshalProtoMacro) Help

func (m *EvalUnmarshalProtoMacro) Help() string

func (*EvalUnmarshalProtoMacro) Invoke

func (m *EvalUnmarshalProtoMacro) Invoke(span *Span, arg Arg) (returns Return, effect Effect, err error)

func (*EvalUnmarshalProtoMacro) Label

func (m *EvalUnmarshalProtoMacro) Label() string

func (*EvalUnmarshalProtoMacro) MacroID

func (m *EvalUnmarshalProtoMacro) MacroID() string

func (*EvalUnmarshalProtoMacro) MacroSheathString

func (m *EvalUnmarshalProtoMacro) MacroSheathString() *string

Jump to

Keyboard shortcuts

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