runtime

package
v0.0.0-...-01f7578 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_status_proto protoreflect.FileDescriptor

Functions

func ForwardResponseMessage

func ForwardResponseMessage(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, req *http.Request, resp proto.Message, opts ...func(context.Context, http.ResponseWriter, proto.Message) error)

Types

type ResponseSuccess

type ResponseSuccess struct {
	HTTPStatus  int32           `protobuf:"varint,1,opt,name=HTTPStatus,json=http_status,proto3" json:"HTTPStatus,omitempty"`
	ProcessTime string          `protobuf:"bytes,2,opt,name=ProcessTime,json=process_time,proto3" json:"ProcessTime,omitempty"`
	Data        *_struct.Struct `protobuf:"bytes,3,opt,name=Data,json=data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseSuccess) Descriptor deprecated

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

Deprecated: Use ResponseSuccess.ProtoReflect.Descriptor instead.

func (*ResponseSuccess) GetData

func (x *ResponseSuccess) GetData() *_struct.Struct

func (*ResponseSuccess) GetHTTPStatus

func (x *ResponseSuccess) GetHTTPStatus() int32

func (*ResponseSuccess) GetProcessTime

func (x *ResponseSuccess) GetProcessTime() string

func (*ResponseSuccess) ProtoMessage

func (*ResponseSuccess) ProtoMessage()

func (*ResponseSuccess) ProtoReflect

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

func (*ResponseSuccess) Reset

func (x *ResponseSuccess) Reset()

func (*ResponseSuccess) String

func (x *ResponseSuccess) String() string

Jump to

Keyboard shortcuts

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