Documentation
¶
Overview ¶
Package operator is a generated protocol buffer package.
It is generated from these files:
operator/operator.proto
It has these top-level messages:
Operator
Index ¶
- Constants
- func Routes(router *httprouter.Router, ds *store.InMemory)
- type Operator
- func (*Operator) Descriptor() ([]byte, []int)
- func (m *Operator) GetFirstName() string
- func (o *Operator) GetFullName() string
- func (m *Operator) GetLastName() string
- func (m *Operator) GetUid() string
- func (m *Operator) GetUserName() string
- func (o Operator) MarshalJSON() ([]byte, error)
- func (*Operator) ProtoMessage()
- func (m *Operator) Reset()
- func (o Operator) StoreKey() string
- func (m *Operator) String() string
- func (o *Operator) UnmarshalJSON(data []byte) error
Constants ¶
View Source
const ( DEBUG string = "DEBUG" INFO string = "INFO" WARNING string = "WARN" ERROR string = "ERROR" FATAL string = "FATAL" )
Log levels
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Operator ¶
type Operator struct { FirstName string `protobuf:"bytes,1,opt,name=first_name" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name" json:"last_name,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=username" json:"user_name,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,json=id" json:"uid,omitempty"` }
func (*Operator) Descriptor ¶
func (*Operator) GetFirstName ¶
func (*Operator) GetFullName ¶
func (*Operator) GetLastName ¶
func (*Operator) GetUserName ¶
func (Operator) MarshalJSON ¶
func (*Operator) ProtoMessage ¶
func (*Operator) ProtoMessage()
func (*Operator) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.