nrpc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_nrpc_nrpc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Begin

type Begin struct {
	Header *Metadata `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Nid    string    `protobuf:"bytes,2,opt,name=nid,proto3" json:"nid,omitempty"`
	// contains filtered or unexported fields
}

func (*Begin) Descriptor deprecated

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

Deprecated: Use Begin.ProtoReflect.Descriptor instead.

func (*Begin) GetHeader

func (x *Begin) GetHeader() *Metadata

func (*Begin) GetNid added in v0.1.9

func (x *Begin) GetNid() string

func (*Begin) ProtoMessage

func (*Begin) ProtoMessage()

func (*Begin) ProtoReflect

func (x *Begin) ProtoReflect() protoreflect.Message

func (*Begin) Reset

func (x *Begin) Reset()

func (*Begin) String

func (x *Begin) String() string

type Call

type Call struct {
	Method   string    `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Nid      string    `protobuf:"bytes,3,opt,name=nid,proto3" json:"nid,omitempty"`
	// contains filtered or unexported fields
}

func (*Call) Descriptor deprecated

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

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) GetMetadata

func (x *Call) GetMetadata() *Metadata

func (*Call) GetMethod

func (x *Call) GetMethod() string

func (*Call) GetNid added in v0.1.9

func (x *Call) GetNid() string

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) ProtoReflect

func (x *Call) ProtoReflect() protoreflect.Message

func (*Call) Reset

func (x *Call) Reset()

func (*Call) String

func (x *Call) String() string

type Data

type Data struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetData

func (x *Data) GetData() []byte

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type End

type End struct {
	Status  *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Trailer *Metadata      `protobuf:"bytes,2,opt,name=trailer,proto3" json:"trailer,omitempty"`
	// contains filtered or unexported fields
}

func (*End) Descriptor deprecated

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

Deprecated: Use End.ProtoReflect.Descriptor instead.

func (*End) GetStatus

func (x *End) GetStatus() *status.Status

func (*End) GetTrailer

func (x *End) GetTrailer() *Metadata

func (*End) ProtoMessage

func (*End) ProtoMessage()

func (*End) ProtoReflect

func (x *End) ProtoReflect() protoreflect.Message

func (*End) Reset

func (x *End) Reset()

func (*End) String

func (x *End) String() string

type Metadata

type Metadata struct {
	Md map[string]*Strings `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetMd

func (x *Metadata) GetMd() map[string]*Strings

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Request

type Request struct {

	// Types that are assignable to Type:
	//	*Request_Call
	//	*Request_Data
	//	*Request_End
	Type isRequest_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCall

func (x *Request) GetCall() *Call

func (*Request) GetData

func (x *Request) GetData() *Data

func (*Request) GetEnd

func (x *Request) GetEnd() *End

func (*Request) GetType

func (m *Request) GetType() isRequest_Type

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_Call

type Request_Call struct {
	Call *Call `protobuf:"bytes,2,opt,name=call,proto3,oneof"`
}

type Request_Data

type Request_Data struct {
	Data *Data `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}

type Request_End

type Request_End struct {
	End *End `protobuf:"bytes,4,opt,name=end,proto3,oneof"`
}

type Response

type Response struct {

	// Types that are assignable to Type:
	//	*Response_Begin
	//	*Response_Data
	//	*Response_End
	Type isResponse_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetBegin

func (x *Response) GetBegin() *Begin

func (*Response) GetData

func (x *Response) GetData() *Data

func (*Response) GetEnd

func (x *Response) GetEnd() *End

func (*Response) GetType

func (m *Response) GetType() isResponse_Type

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Response_Begin

type Response_Begin struct {
	Begin *Begin `protobuf:"bytes,2,opt,name=begin,proto3,oneof"`
}

type Response_Data

type Response_Data struct {
	Data *Data `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}

type Response_End

type Response_End struct {
	End *End `protobuf:"bytes,4,opt,name=end,proto3,oneof"`
}

type Strings

type Strings struct {
	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Strings) Descriptor deprecated

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

Deprecated: Use Strings.ProtoReflect.Descriptor instead.

func (*Strings) GetValues

func (x *Strings) GetValues() []string

func (*Strings) ProtoMessage

func (*Strings) ProtoMessage()

func (*Strings) ProtoReflect

func (x *Strings) ProtoReflect() protoreflect.Message

func (*Strings) Reset

func (x *Strings) Reset()

func (*Strings) String

func (x *Strings) String() string

Jump to

Keyboard shortcuts

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