Documentation ¶
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetKey() string
- func (m *Config) GetMethods() []Method
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Method
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Config = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*Config)(nil), Field: 4494, Name: "lazy.config", Tag: "bytes,4494,opt,name=config", Filename: "lazy.proto", }
View Source
var Method_name = map[int32]string{
0: "UNKOWN_METHOD",
1: "CREATE",
2: "GET",
3: "LIST",
4: "UPDATE",
5: "DELETE",
}
View Source
var Method_value = map[string]int32{
"UNKOWN_METHOD": 0,
"CREATE": 1,
"GET": 2,
"LIST": 3,
"UPDATE": 4,
"DELETE": 5,
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Methods []Method `protobuf:"varint,1,rep,packed,name=methods,proto3,enum=lazy.Method" json:"methods,omitempty"` Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetMethods ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.