Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional string query = 100001; E_Query = &file_proto_lava_resty_proto_extTypes[0] // optional string param = 100002; E_Param = &file_proto_lava_resty_proto_extTypes[1] )
Extension fields to descriptorpb.FieldOptions.
View Source
var (
// optional lava.Resty resty = 100000;
E_Resty = &file_proto_lava_resty_proto_extTypes[2]
)
Extension fields to descriptorpb.ServiceOptions.
View Source
var (
// optional lava.sql sqlx = 100000;
E_Sqlx = &file_proto_lava_sql_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var (
// repeated lava.Tag tags = 100000;
E_Tags = &file_proto_lava_tags_proto_extTypes[0]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_proto_lava_resty_proto protoreflect.FileDescriptor
View Source
var File_proto_lava_sql_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Response ¶ added in v0.1.26
type Response struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Headers map[string]string `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Response) Descriptor
deprecated
added in
v0.1.26
func (*Response) GetHeaders ¶ added in v0.1.26
func (*Response) ProtoMessage ¶ added in v0.1.26
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶ added in v0.1.26
func (x *Response) ProtoReflect() protoreflect.Message
type Resty ¶ added in v0.2.0
type Resty struct {
Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
// contains filtered or unexported fields
}
func (*Resty) Descriptor
deprecated
added in
v0.2.0
func (*Resty) ProtoMessage ¶ added in v0.2.0
func (*Resty) ProtoMessage()
func (*Resty) ProtoReflect ¶ added in v0.2.0
func (x *Resty) ProtoReflect() protoreflect.Message
type Sql ¶
type Sql struct {
Query *string `protobuf:"bytes,1,opt,name=query,proto3,oneof" json:"query,omitempty"`
Exec *string `protobuf:"bytes,2,opt,name=exec,proto3,oneof" json:"exec,omitempty"`
// contains filtered or unexported fields
}
func (*Sql) Descriptor
deprecated
func (*Sql) ProtoMessage ¶
func (*Sql) ProtoMessage()
func (*Sql) ProtoReflect ¶
func (x *Sql) ProtoReflect() protoreflect.Message
type Tag ¶
type Tag struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Tag) Descriptor
deprecated
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.