config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Config) GetKey

func (m *Config) GetKey() string

func (*Config) GetMethods

func (m *Config) GetMethods() []Method

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge

func (dst *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal

func (m *Config) XXX_Unmarshal(b []byte) error

type Method

type Method int32
const (
	Method_UNKOWN_METHOD Method = 0
	Method_CREATE        Method = 1
	Method_GET           Method = 2
	Method_LIST          Method = 3
	Method_UPDATE        Method = 4
	Method_DELETE        Method = 5
)

func (Method) EnumDescriptor

func (Method) EnumDescriptor() ([]byte, []int)

func (Method) String

func (x Method) String() string

Jump to

Keyboard shortcuts

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