common

package
v0.0.0-...-854a178 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type RpcRequest

type RpcRequest struct {
	ServiceName string            `protobuf:"bytes,1,opt,name=ServiceName,proto3" json:"ServiceName,omitempty"`
	MethodName  string            `protobuf:"bytes,2,opt,name=MethodName,proto3" json:"MethodName,omitempty"`
	Parameters  *anypb.Any        `protobuf:"bytes,3,opt,name=Parameters,proto3" json:"Parameters,omitempty"`
	Headers     map[string]string `` /* 155-byte string literal not displayed */
	Seq         int64             `protobuf:"varint,5,opt,name=Seq,proto3" json:"Seq,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcRequest) Descriptor deprecated

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

Deprecated: Use RpcRequest.ProtoReflect.Descriptor instead.

func (*RpcRequest) GetHeaders

func (x *RpcRequest) GetHeaders() map[string]string

func (*RpcRequest) GetMethodName

func (x *RpcRequest) GetMethodName() string

func (*RpcRequest) GetParameters

func (x *RpcRequest) GetParameters() *anypb.Any

func (*RpcRequest) GetSeq

func (x *RpcRequest) GetSeq() int64

func (*RpcRequest) GetServiceName

func (x *RpcRequest) GetServiceName() string

func (*RpcRequest) ProtoMessage

func (*RpcRequest) ProtoMessage()

func (*RpcRequest) ProtoReflect

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

func (*RpcRequest) Reset

func (x *RpcRequest) Reset()

func (*RpcRequest) String

func (x *RpcRequest) String() string

type RpcResponse

type RpcResponse struct {
	Status   string            `protobuf:"bytes,1,opt,name=Status,proto3" json:"Status,omitempty"`
	Headers  map[string]string `` /* 155-byte string literal not displayed */
	Result   *anypb.Any        `protobuf:"bytes,3,opt,name=Result,proto3" json:"Result,omitempty"`
	ErrorMsg string            `protobuf:"bytes,4,opt,name=ErrorMsg,proto3" json:"ErrorMsg,omitempty"`
	Seq      int64             `protobuf:"varint,5,opt,name=Seq,proto3" json:"Seq,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcResponse) Descriptor deprecated

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

Deprecated: Use RpcResponse.ProtoReflect.Descriptor instead.

func (*RpcResponse) GetErrorMsg

func (x *RpcResponse) GetErrorMsg() string

func (*RpcResponse) GetHeaders

func (x *RpcResponse) GetHeaders() map[string]string

func (*RpcResponse) GetResult

func (x *RpcResponse) GetResult() *anypb.Any

func (*RpcResponse) GetSeq

func (x *RpcResponse) GetSeq() int64

func (*RpcResponse) GetStatus

func (x *RpcResponse) GetStatus() string

func (*RpcResponse) ProtoMessage

func (*RpcResponse) ProtoMessage()

func (*RpcResponse) ProtoReflect

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

func (*RpcResponse) Reset

func (x *RpcResponse) Reset()

func (*RpcResponse) String

func (x *RpcResponse) String() string

Jump to

Keyboard shortcuts

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