proto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_Subject = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50000,
	Name:          "proto_nats.subject",
	Tag:           "bytes,50000,opt,name=subject",
	Filename:      "nats.proto",
}
View Source
var E_SubjectPrefix = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         50000,
	Name:          "proto_nats.subject_prefix",
	Tag:           "bytes,50000,opt,name=subject_prefix",
	Filename:      "nats.proto",
}

Functions

This section is empty.

Types

type EncodedMessage

type EncodedMessage struct {
	Body                 *any.Any `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	Error                string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncodedMessage) Descriptor

func (*EncodedMessage) Descriptor() ([]byte, []int)

func (*EncodedMessage) GetBody

func (m *EncodedMessage) GetBody() *any.Any

func (*EncodedMessage) GetError

func (m *EncodedMessage) GetError() string

func (*EncodedMessage) ProtoMessage

func (*EncodedMessage) ProtoMessage()

func (*EncodedMessage) Reset

func (m *EncodedMessage) Reset()

func (*EncodedMessage) String

func (m *EncodedMessage) String() string

func (*EncodedMessage) XXX_DiscardUnknown

func (m *EncodedMessage) XXX_DiscardUnknown()

func (*EncodedMessage) XXX_Marshal

func (m *EncodedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EncodedMessage) XXX_Merge

func (m *EncodedMessage) XXX_Merge(src proto.Message)

func (*EncodedMessage) XXX_Size

func (m *EncodedMessage) XXX_Size() int

func (*EncodedMessage) XXX_Unmarshal

func (m *EncodedMessage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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