Documentation
¶
Index ¶
- Variables
- type Base
- func (*Base) Descriptor() ([]byte, []int)deprecated
- func (x *Base) GetAddr() string
- func (x *Base) GetCaller() string
- func (x *Base) GetClient() string
- func (x *Base) GetExtra() map[string]string
- func (x *Base) GetLogId() string
- func (x *Base) GetTrafficEnv() *TrafficEnv
- func (*Base) ProtoMessage()
- func (x *Base) ProtoReflect() protoreflect.Message
- func (x *Base) Reset()
- func (x *Base) String() string
- type BaseResp
- func (*BaseResp) Descriptor() ([]byte, []int)deprecated
- func (x *BaseResp) GetExtra() map[string]string
- func (x *BaseResp) GetStatusCode() int32
- func (x *BaseResp) GetStatusMessage() string
- func (*BaseResp) ProtoMessage()
- func (x *BaseResp) ProtoReflect() protoreflect.Message
- func (x *BaseResp) Reset()
- func (x *BaseResp) String() string
- type EmptyData
- type EmptyReq
- type EmptyResp
- func (*EmptyResp) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyResp) GetCode() int64
- func (x *EmptyResp) GetData() *EmptyData
- func (x *EmptyResp) GetMsg() string
- func (*EmptyResp) ProtoMessage()
- func (x *EmptyResp) ProtoReflect() protoreflect.Message
- func (x *EmptyResp) Reset()
- func (x *EmptyResp) String() string
- type EmptyRpcReq
- type EmptyRpcResp
- type TrafficEnv
Constants ¶
This section is empty.
Variables ¶
View Source
var File_base_base_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Base ¶
type Base struct {
LogId string `protobuf:"bytes,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"`
Caller string `protobuf:"bytes,2,opt,name=caller,proto3" json:"caller,omitempty"`
Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"`
Client string `protobuf:"bytes,4,opt,name=client,proto3" json:"client,omitempty"`
TrafficEnv *TrafficEnv `protobuf:"bytes,5,opt,name=traffic_env,json=trafficEnv,proto3" json:"traffic_env,omitempty"`
Extra map[string]string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Base 基础请求信息
func (*Base) Descriptor
deprecated
func (*Base) GetTrafficEnv ¶
func (x *Base) GetTrafficEnv() *TrafficEnv
func (*Base) ProtoMessage ¶
func (*Base) ProtoMessage()
func (*Base) ProtoReflect ¶
func (x *Base) ProtoReflect() protoreflect.Message
type BaseResp ¶
type BaseResp struct {
StatusMessage string `protobuf:"bytes,1,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
StatusCode int32 `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
Extra map[string]string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
BaseResp 基础响应信息
func (*BaseResp) Descriptor
deprecated
func (*BaseResp) GetStatusCode ¶
func (*BaseResp) GetStatusMessage ¶
func (*BaseResp) ProtoMessage ¶
func (*BaseResp) ProtoMessage()
func (*BaseResp) ProtoReflect ¶
func (x *BaseResp) ProtoReflect() protoreflect.Message
type EmptyData ¶
type EmptyData struct {
// contains filtered or unexported fields
}
EmptyData 空数据
func (*EmptyData) Descriptor
deprecated
func (*EmptyData) ProtoMessage ¶
func (*EmptyData) ProtoMessage()
func (*EmptyData) ProtoReflect ¶
func (x *EmptyData) ProtoReflect() protoreflect.Message
type EmptyReq ¶
type EmptyReq struct {
// contains filtered or unexported fields
}
EmptyReq 空请求
func (*EmptyReq) Descriptor
deprecated
func (*EmptyReq) ProtoMessage ¶
func (*EmptyReq) ProtoMessage()
func (*EmptyReq) ProtoReflect ¶
func (x *EmptyReq) ProtoReflect() protoreflect.Message
type EmptyResp ¶
type EmptyResp struct {
Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Data *EmptyData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
EmptyResp 空响应
func (*EmptyResp) Descriptor
deprecated
func (*EmptyResp) ProtoMessage ¶
func (*EmptyResp) ProtoMessage()
func (*EmptyResp) ProtoReflect ¶
func (x *EmptyResp) ProtoReflect() protoreflect.Message
type EmptyRpcReq ¶
type EmptyRpcReq struct {
Base *Base `protobuf:"bytes,255,opt,name=base,proto3" json:"base,omitempty"`
// contains filtered or unexported fields
}
EmptyRpcReq RPC 空请求
func (*EmptyRpcReq) Descriptor
deprecated
func (*EmptyRpcReq) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRpcReq.ProtoReflect.Descriptor instead.
func (*EmptyRpcReq) GetBase ¶
func (x *EmptyRpcReq) GetBase() *Base
func (*EmptyRpcReq) ProtoMessage ¶
func (*EmptyRpcReq) ProtoMessage()
func (*EmptyRpcReq) ProtoReflect ¶
func (x *EmptyRpcReq) ProtoReflect() protoreflect.Message
func (*EmptyRpcReq) Reset ¶
func (x *EmptyRpcReq) Reset()
func (*EmptyRpcReq) String ¶
func (x *EmptyRpcReq) String() string
type EmptyRpcResp ¶
type EmptyRpcResp struct {
BaseResp *BaseResp `protobuf:"bytes,255,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"`
// contains filtered or unexported fields
}
EmptyRpcResp RPC 空响应
func (*EmptyRpcResp) Descriptor
deprecated
func (*EmptyRpcResp) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRpcResp.ProtoReflect.Descriptor instead.
func (*EmptyRpcResp) GetBaseResp ¶
func (x *EmptyRpcResp) GetBaseResp() *BaseResp
func (*EmptyRpcResp) ProtoMessage ¶
func (*EmptyRpcResp) ProtoMessage()
func (*EmptyRpcResp) ProtoReflect ¶
func (x *EmptyRpcResp) ProtoReflect() protoreflect.Message
func (*EmptyRpcResp) Reset ¶
func (x *EmptyRpcResp) Reset()
func (*EmptyRpcResp) String ¶
func (x *EmptyRpcResp) String() string
type TrafficEnv ¶
type TrafficEnv struct {
Open bool `protobuf:"varint,1,opt,name=open,proto3" json:"open,omitempty"`
Env string `protobuf:"bytes,2,opt,name=env,proto3" json:"env,omitempty"`
// contains filtered or unexported fields
}
TrafficEnv 流量环境配置
func (*TrafficEnv) Descriptor
deprecated
func (*TrafficEnv) Descriptor() ([]byte, []int)
Deprecated: Use TrafficEnv.ProtoReflect.Descriptor instead.
func (*TrafficEnv) GetEnv ¶
func (x *TrafficEnv) GetEnv() string
func (*TrafficEnv) GetOpen ¶
func (x *TrafficEnv) GetOpen() bool
func (*TrafficEnv) ProtoMessage ¶
func (*TrafficEnv) ProtoMessage()
func (*TrafficEnv) ProtoReflect ¶
func (x *TrafficEnv) ProtoReflect() protoreflect.Message
func (*TrafficEnv) Reset ¶
func (x *TrafficEnv) Reset()
func (*TrafficEnv) String ¶
func (x *TrafficEnv) String() string
Click to show internal directories.
Click to hide internal directories.