pb

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Code added in v1.3.1

type Code struct {
	HttpStatus uint32 `protobuf:"varint,1,opt,name=http_status,json=httpStatus,proto3" json:"http_status,omitempty"`
	// contains filtered or unexported fields
}

func (*Code) Descriptor deprecated added in v1.3.1

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

Deprecated: Use Code.ProtoReflect.Descriptor instead.

func (*Code) GetHttpStatus added in v1.3.1

func (x *Code) GetHttpStatus() uint32

func (*Code) ProtoMessage added in v1.3.1

func (*Code) ProtoMessage()

func (*Code) ProtoReflect added in v1.3.1

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

func (*Code) Reset added in v1.3.1

func (x *Code) Reset()

func (*Code) String added in v1.3.1

func (x *Code) String() string

type Journal

type Journal struct {
	Id          string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Label       *Lable    `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	Request     *Request  `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"`
	Response    *Response `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"`
	Success     bool      `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
	CostSeconds float64   `protobuf:"fixed64,6,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) GetLabel added in v1.3.7

func (x *Journal) GetLabel() *Lable

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 Lable added in v1.3.7

type Lable struct {
	Sequence uint32 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	Desc     string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	// contains filtered or unexported fields
}

func (*Lable) Descriptor deprecated added in v1.3.7

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

Deprecated: Use Lable.ProtoReflect.Descriptor instead.

func (*Lable) GetDesc added in v1.3.7

func (x *Lable) GetDesc() string

func (*Lable) GetSequence added in v1.3.7

func (x *Lable) GetSequence() uint32

func (*Lable) ProtoMessage added in v1.3.7

func (*Lable) ProtoMessage()

func (*Lable) ProtoReflect added in v1.3.7

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

func (*Lable) Reset added in v1.3.7

func (x *Lable) Reset()

func (*Lable) String added in v1.3.7

func (x *Lable) 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"`
	ErrorVerbose string     `protobuf:"bytes,3,opt,name=error_verbose,json=errorVerbose,proto3" json:"error_verbose,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) GetErrorVerbose

func (x *Response) GetErrorVerbose() string

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 {
	Verbose string `protobuf:"bytes,1,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// contains filtered or unexported fields
}

func (*Stack) Descriptor deprecated

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

Deprecated: Use Stack.ProtoReflect.Descriptor instead.

func (*Stack) GetVerbose

func (x *Stack) GetVerbose() 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