Documentation ¶
Index ¶
- Variables
- type FIELD_BIND
- type Http
- func (*Http) Descriptor() ([]byte, []int)deprecated
- func (x *Http) GetDelete() string
- func (x *Http) GetGet() string
- func (x *Http) GetHandler() string
- func (x *Http) GetOption() string
- func (x *Http) GetPatch() string
- func (m *Http) GetPattern() isHttp_Pattern
- func (x *Http) GetPost() string
- func (x *Http) GetPut() string
- func (x *Http) GetTimeout() int32
- func (x *Http) GetUse() []string
- func (*Http) ProtoMessage()
- func (x *Http) ProtoReflect() protoreflect.Message
- func (x *Http) Reset()
- func (x *Http) String() string
- type Http_Delete
- type Http_Get
- type Http_Option
- type Http_Patch
- type Http_Post
- type Http_Put
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FIELD_BIND_name = map[int32]string{ 0: "FROM_DEFAULT", 1: "FROM_CONTEXT", 2: "FROM_QUERY", 3: "FROM_HEADER", 4: "FROM_PARAMS", } FIELD_BIND_value = map[string]int32{ "FROM_DEFAULT": 0, "FROM_CONTEXT": 1, "FROM_QUERY": 2, "FROM_HEADER": 3, "FROM_PARAMS": 4, } )
Enum value maps for FIELD_BIND.
View Source
var ( // optional string server = 4110202; E_Server = &file_annotation_proto_extTypes[1] // optional string default_handler = 4110204; E_DefaultHandler = &file_annotation_proto_extTypes[2] // optional int32 default_timeout = 4110205; E_DefaultTimeout = &file_annotation_proto_extTypes[3] // optional string path_prefix = 4110206; E_PathPrefix = &file_annotation_proto_extTypes[4] )
Extension fields to descriptor.ServiceOptions.
View Source
var ( // optional string alias = 6110202; E_Alias = &file_annotation_proto_extTypes[6] // optional bool omit_empty = 6110203; E_OmitEmpty = &file_annotation_proto_extTypes[7] // optional bool raw_data = 6110204; E_RawData = &file_annotation_proto_extTypes[8] // optional bool from_context = 6110206; E_FromContext = &file_annotation_proto_extTypes[9] // optional bool validate = 6110207; E_Validate = &file_annotation_proto_extTypes[10] // optional gapi.FIELD_BIND bind = 6110209; E_Bind = &file_annotation_proto_extTypes[11] )
Extension fields to descriptor.FieldOptions.
View Source
var (
// optional bool flat = 5110202;
E_Flat = &file_annotation_proto_extTypes[5]
)
Extension fields to descriptor.MessageOptions.
View Source
var (
// optional gapi.Http http = 3110202;
E_Http = &file_annotation_proto_extTypes[0]
)
Extension fields to descriptor.MethodOptions.
View Source
var File_annotation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FIELD_BIND ¶
type FIELD_BIND int32
const ( FIELD_BIND_FROM_DEFAULT FIELD_BIND = 0 FIELD_BIND_FROM_CONTEXT FIELD_BIND = 1 FIELD_BIND_FROM_QUERY FIELD_BIND = 2 FIELD_BIND_FROM_HEADER FIELD_BIND = 3 FIELD_BIND_FROM_PARAMS FIELD_BIND = 4 )
func (FIELD_BIND) Descriptor ¶
func (FIELD_BIND) Descriptor() protoreflect.EnumDescriptor
func (FIELD_BIND) Enum ¶
func (x FIELD_BIND) Enum() *FIELD_BIND
func (FIELD_BIND) EnumDescriptor
deprecated
func (FIELD_BIND) EnumDescriptor() ([]byte, []int)
Deprecated: Use FIELD_BIND.Descriptor instead.
func (FIELD_BIND) Number ¶
func (x FIELD_BIND) Number() protoreflect.EnumNumber
func (FIELD_BIND) String ¶
func (x FIELD_BIND) String() string
func (FIELD_BIND) Type ¶
func (FIELD_BIND) Type() protoreflect.EnumType
type Http ¶
type Http struct { // Types that are assignable to Pattern: // *Http_Post // *Http_Get // *Http_Delete // *Http_Put // *Http_Patch // *Http_Option Pattern isHttp_Pattern `protobuf_oneof:"pattern"` Use []string `protobuf:"bytes,7,rep,name=use,proto3" json:"use,omitempty"` Timeout int32 `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"` Handler string `protobuf:"bytes,9,opt,name=handler,proto3" json:"handler,omitempty"` // contains filtered or unexported fields }
func (*Http) Descriptor
deprecated
func (*Http) GetHandler ¶
func (*Http) GetPattern ¶
func (m *Http) GetPattern() isHttp_Pattern
func (*Http) GetTimeout ¶
func (*Http) ProtoMessage ¶
func (*Http) ProtoMessage()
func (*Http) ProtoReflect ¶
func (x *Http) ProtoReflect() protoreflect.Message
type Http_Delete ¶
type Http_Delete struct {
Delete string `protobuf:"bytes,3,opt,name=delete,proto3,oneof"`
}
type Http_Option ¶
type Http_Option struct {
Option string `protobuf:"bytes,6,opt,name=option,proto3,oneof"`
}
type Http_Patch ¶
type Http_Patch struct {
Patch string `protobuf:"bytes,5,opt,name=patch,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.