pb

package
v0.3.19 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Journal

type Journal struct {
	Id          string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Request     *Request  `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
	Response    *Response `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	Success     bool      `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"`
	CostSeconds float64   `protobuf:"fixed64,5,opt,name=cost_seconds,json=costSeconds,proto3" json:"cost_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*Journal) Descriptor deprecated

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

Deprecated: Use Journal.ProtoReflect.Descriptor instead.

func (*Journal) GetCostSeconds

func (x *Journal) GetCostSeconds() float64

func (*Journal) GetId

func (x *Journal) GetId() string

func (*Journal) GetRequest

func (x *Journal) GetRequest() *Request

func (*Journal) GetResponse

func (x *Journal) GetResponse() *Response

func (*Journal) GetSuccess

func (x *Journal) GetSuccess() bool

func (*Journal) ProtoMessage

func (*Journal) ProtoMessage()

func (*Journal) ProtoReflect

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

func (*Journal) Reset

func (x *Journal) Reset()

func (*Journal) String

func (x *Journal) String() string

type Request

type Request struct {
	Restapi  bool              `protobuf:"varint,1,opt,name=restapi,proto3" json:"restapi,omitempty"`
	Method   string            `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	Payload  *anypb.Any        `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetMetadata

func (x *Request) GetMetadata() map[string]string

func (*Request) GetMethod

func (x *Request) GetMethod() string

func (*Request) GetPayload

func (x *Request) GetPayload() *anypb.Any

func (*Request) GetRestapi

func (x *Request) GetRestapi() bool

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 Response

type Response struct {
	Code    string       `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string       `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	Payload *anypb.Any   `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetCode

func (x *Response) GetCode() string

func (*Response) GetDetails

func (x *Response) GetDetails() []*anypb.Any

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) GetPayload

func (x *Response) GetPayload() *anypb.Any

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 Stack

type Stack struct {
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*Stack) Descriptor deprecated

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) GetInfo

func (x *Stack) GetInfo() string

func (*Stack) ProtoMessage

func (*Stack) ProtoMessage()

func (*Stack) ProtoReflect

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

func (*Stack) Reset

func (x *Stack) Reset()

func (*Stack) String

func (x *Stack) String() string

Jump to

Keyboard shortcuts

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