Documentation ¶
Index ¶
- type Circle
- func (*Circle) Descriptor() ([]byte, []int)
- func (m *Circle) GetDescription() string
- func (m *Circle) GetId() int64
- func (m *Circle) GetName() string
- func (m *Circle) GetSectors() []*Sector
- func (*Circle) ProtoMessage()
- func (m *Circle) Reset()
- func (m *Circle) String() string
- func (m *Circle) Validate() error
- func (m *Circle) XXX_DiscardUnknown()
- func (m *Circle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Circle) XXX_Merge(src proto.Message)
- func (m *Circle) XXX_Size() int
- func (m *Circle) XXX_Unmarshal(b []byte) error
- type CircleValidationError
- type Hall
- func (*Hall) Descriptor() ([]byte, []int)
- func (m *Hall) GetDescription() string
- func (m *Hall) GetId() int64
- func (m *Hall) GetName() string
- func (m *Hall) GetVariances() []*Variance
- func (*Hall) ProtoMessage()
- func (m *Hall) Reset()
- func (m *Hall) String() string
- func (m *Hall) Validate() error
- func (m *Hall) XXX_DiscardUnknown()
- func (m *Hall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Hall) XXX_Merge(src proto.Message)
- func (m *Hall) XXX_Size() int
- func (m *Hall) XXX_Unmarshal(b []byte) error
- type HallValidationError
- type Seat
- func (*Seat) Descriptor() ([]byte, []int)
- func (m *Seat) GetHeight() float64
- func (m *Seat) GetId() int64
- func (m *Seat) GetRowText() string
- func (m *Seat) GetSeatText() string
- func (m *Seat) GetStatus() uint32
- func (m *Seat) GetWidth() float64
- func (m *Seat) GetX() float64
- func (m *Seat) GetY() float64
- func (m *Seat) GetZoneColor() string
- func (m *Seat) GetZoneId() int64
- func (*Seat) ProtoMessage()
- func (m *Seat) Reset()
- func (m *Seat) String() string
- func (m *Seat) Validate() error
- func (m *Seat) XXX_DiscardUnknown()
- func (m *Seat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Seat) XXX_Merge(src proto.Message)
- func (m *Seat) XXX_Size() int
- func (m *Seat) XXX_Unmarshal(b []byte) error
- type SeatValidationError
- type Sector
- func (*Sector) Descriptor() ([]byte, []int)
- func (m *Sector) GetCapacity() int64
- func (m *Sector) GetDescription() string
- func (m *Sector) GetId() int64
- func (m *Sector) GetName() string
- func (*Sector) ProtoMessage()
- func (m *Sector) Reset()
- func (m *Sector) String() string
- func (m *Sector) Validate() error
- func (m *Sector) XXX_DiscardUnknown()
- func (m *Sector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sector) XXX_Merge(src proto.Message)
- func (m *Sector) XXX_Size() int
- func (m *Sector) XXX_Unmarshal(b []byte) error
- type SectorValidationError
- type Stand
- func (*Stand) Descriptor() ([]byte, []int)
- func (m *Stand) GetCircles() []*Circle
- func (m *Stand) GetDescription() string
- func (m *Stand) GetId() int64
- func (m *Stand) GetName() string
- func (*Stand) ProtoMessage()
- func (m *Stand) Reset()
- func (m *Stand) String() string
- func (m *Stand) Validate() error
- func (m *Stand) XXX_DiscardUnknown()
- func (m *Stand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Stand) XXX_Merge(src proto.Message)
- func (m *Stand) XXX_Size() int
- func (m *Stand) XXX_Unmarshal(b []byte) error
- type StandValidationError
- type Variance
- func (*Variance) Descriptor() ([]byte, []int)
- func (m *Variance) GetCapacity() int64
- func (m *Variance) GetDescription() string
- func (m *Variance) GetId() int64
- func (m *Variance) GetName() string
- func (m *Variance) GetStands() []*Stand
- func (*Variance) ProtoMessage()
- func (m *Variance) Reset()
- func (m *Variance) String() string
- func (m *Variance) Validate() error
- func (m *Variance) XXX_DiscardUnknown()
- func (m *Variance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Variance) XXX_Merge(src proto.Message)
- func (m *Variance) XXX_Size() int
- func (m *Variance) XXX_Unmarshal(b []byte) error
- type VarianceValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Circle ¶
type Circle struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Sectors []*Sector `protobuf:"bytes,4,rep,name=sectors,proto3" json:"sectors,omitempty"` }
func (*Circle) Descriptor ¶
func (*Circle) GetDescription ¶
func (*Circle) GetSectors ¶
func (*Circle) ProtoMessage ¶
func (*Circle) ProtoMessage()
func (*Circle) Validate ¶
Validate checks the field values on Circle with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Circle) XXX_DiscardUnknown ¶
func (m *Circle) XXX_DiscardUnknown()
func (*Circle) XXX_Marshal ¶
func (*Circle) XXX_Unmarshal ¶
type CircleValidationError ¶
type CircleValidationError struct {
// contains filtered or unexported fields
}
CircleValidationError is the validation error returned by Circle.Validate if the designated constraints aren't met.
func (CircleValidationError) Cause ¶
func (e CircleValidationError) Cause() error
Cause function returns cause value.
func (CircleValidationError) Error ¶
func (e CircleValidationError) Error() string
Error satisfies the builtin error interface
func (CircleValidationError) ErrorName ¶
func (e CircleValidationError) ErrorName() string
ErrorName returns error name.
func (CircleValidationError) Field ¶
func (e CircleValidationError) Field() string
Field function returns field value.
func (CircleValidationError) Key ¶
func (e CircleValidationError) Key() bool
Key function returns key value.
func (CircleValidationError) Reason ¶
func (e CircleValidationError) Reason() string
Reason function returns reason value.
type Hall ¶
type Hall struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Variances []*Variance `protobuf:"bytes,4,rep,name=variances,proto3" json:"variances,omitempty"` }
func (*Hall) Descriptor ¶
func (*Hall) GetDescription ¶
func (*Hall) GetVariances ¶
func (*Hall) ProtoMessage ¶
func (*Hall) ProtoMessage()
func (*Hall) Validate ¶
Validate checks the field values on Hall with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Hall) XXX_DiscardUnknown ¶
func (m *Hall) XXX_DiscardUnknown()
func (*Hall) XXX_Unmarshal ¶
type HallValidationError ¶
type HallValidationError struct {
// contains filtered or unexported fields
}
HallValidationError is the validation error returned by Hall.Validate if the designated constraints aren't met.
func (HallValidationError) Cause ¶
func (e HallValidationError) Cause() error
Cause function returns cause value.
func (HallValidationError) Error ¶
func (e HallValidationError) Error() string
Error satisfies the builtin error interface
func (HallValidationError) ErrorName ¶
func (e HallValidationError) ErrorName() string
ErrorName returns error name.
func (HallValidationError) Field ¶
func (e HallValidationError) Field() string
Field function returns field value.
func (HallValidationError) Key ¶
func (e HallValidationError) Key() bool
Key function returns key value.
func (HallValidationError) Reason ¶
func (e HallValidationError) Reason() string
Reason function returns reason value.
type Seat ¶
type Seat struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RowText string `protobuf:"bytes,2,opt,name=row_text,json=rowText,proto3" json:"row_text,omitempty"` SeatText string `protobuf:"bytes,3,opt,name=seat_text,json=seatText,proto3" json:"seat_text,omitempty"` X float64 `protobuf:"fixed64,4,opt,name=x,proto3" json:"x,omitempty"` Y float64 `protobuf:"fixed64,5,opt,name=y,proto3" json:"y,omitempty"` Width float64 `protobuf:"fixed64,6,opt,name=width,proto3" json:"width,omitempty"` Height float64 `protobuf:"fixed64,7,opt,name=height,proto3" json:"height,omitempty"` ZoneId int64 `protobuf:"varint,8,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` ZoneColor string `protobuf:"bytes,9,opt,name=zone_color,json=zoneColor,proto3" json:"zone_color,omitempty"` Status uint32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` }
func (*Seat) Descriptor ¶
func (*Seat) GetRowText ¶
func (*Seat) GetSeatText ¶
func (*Seat) GetZoneColor ¶
func (*Seat) ProtoMessage ¶
func (*Seat) ProtoMessage()
func (*Seat) Validate ¶
Validate checks the field values on Seat with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Seat) XXX_DiscardUnknown ¶
func (m *Seat) XXX_DiscardUnknown()
func (*Seat) XXX_Unmarshal ¶
type SeatValidationError ¶
type SeatValidationError struct {
// contains filtered or unexported fields
}
SeatValidationError is the validation error returned by Seat.Validate if the designated constraints aren't met.
func (SeatValidationError) Cause ¶
func (e SeatValidationError) Cause() error
Cause function returns cause value.
func (SeatValidationError) Error ¶
func (e SeatValidationError) Error() string
Error satisfies the builtin error interface
func (SeatValidationError) ErrorName ¶
func (e SeatValidationError) ErrorName() string
ErrorName returns error name.
func (SeatValidationError) Field ¶
func (e SeatValidationError) Field() string
Field function returns field value.
func (SeatValidationError) Key ¶
func (e SeatValidationError) Key() bool
Key function returns key value.
func (SeatValidationError) Reason ¶
func (e SeatValidationError) Reason() string
Reason function returns reason value.
type Sector ¶
type Sector struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Capacity int64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` }
func (*Sector) Descriptor ¶
func (*Sector) GetCapacity ¶
func (*Sector) GetDescription ¶
func (*Sector) ProtoMessage ¶
func (*Sector) ProtoMessage()
func (*Sector) Validate ¶
Validate checks the field values on Sector with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Sector) XXX_DiscardUnknown ¶
func (m *Sector) XXX_DiscardUnknown()
func (*Sector) XXX_Marshal ¶
func (*Sector) XXX_Unmarshal ¶
type SectorValidationError ¶
type SectorValidationError struct {
// contains filtered or unexported fields
}
SectorValidationError is the validation error returned by Sector.Validate if the designated constraints aren't met.
func (SectorValidationError) Cause ¶
func (e SectorValidationError) Cause() error
Cause function returns cause value.
func (SectorValidationError) Error ¶
func (e SectorValidationError) Error() string
Error satisfies the builtin error interface
func (SectorValidationError) ErrorName ¶
func (e SectorValidationError) ErrorName() string
ErrorName returns error name.
func (SectorValidationError) Field ¶
func (e SectorValidationError) Field() string
Field function returns field value.
func (SectorValidationError) Key ¶
func (e SectorValidationError) Key() bool
Key function returns key value.
func (SectorValidationError) Reason ¶
func (e SectorValidationError) Reason() string
Reason function returns reason value.
type Stand ¶
type Stand struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Circles []*Circle `protobuf:"bytes,4,rep,name=circles,proto3" json:"circles,omitempty"` }
func (*Stand) Descriptor ¶
func (*Stand) GetCircles ¶
func (*Stand) GetDescription ¶
func (*Stand) ProtoMessage ¶
func (*Stand) ProtoMessage()
func (*Stand) Validate ¶
Validate checks the field values on Stand with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Stand) XXX_DiscardUnknown ¶
func (m *Stand) XXX_DiscardUnknown()
func (*Stand) XXX_Marshal ¶
func (*Stand) XXX_Unmarshal ¶
type StandValidationError ¶
type StandValidationError struct {
// contains filtered or unexported fields
}
StandValidationError is the validation error returned by Stand.Validate if the designated constraints aren't met.
func (StandValidationError) Cause ¶
func (e StandValidationError) Cause() error
Cause function returns cause value.
func (StandValidationError) Error ¶
func (e StandValidationError) Error() string
Error satisfies the builtin error interface
func (StandValidationError) ErrorName ¶
func (e StandValidationError) ErrorName() string
ErrorName returns error name.
func (StandValidationError) Field ¶
func (e StandValidationError) Field() string
Field function returns field value.
func (StandValidationError) Key ¶
func (e StandValidationError) Key() bool
Key function returns key value.
func (StandValidationError) Reason ¶
func (e StandValidationError) Reason() string
Reason function returns reason value.
type Variance ¶
type Variance struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Capacity int64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` Stands []*Stand `protobuf:"bytes,5,rep,name=stands,proto3" json:"stands,omitempty"` }
func (*Variance) Descriptor ¶
func (*Variance) GetCapacity ¶
func (*Variance) GetDescription ¶
func (*Variance) ProtoMessage ¶
func (*Variance) ProtoMessage()
func (*Variance) Validate ¶
Validate checks the field values on Variance with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Variance) XXX_DiscardUnknown ¶
func (m *Variance) XXX_DiscardUnknown()
func (*Variance) XXX_Marshal ¶
func (*Variance) XXX_Unmarshal ¶
type VarianceValidationError ¶
type VarianceValidationError struct {
// contains filtered or unexported fields
}
VarianceValidationError is the validation error returned by Variance.Validate if the designated constraints aren't met.
func (VarianceValidationError) Cause ¶
func (e VarianceValidationError) Cause() error
Cause function returns cause value.
func (VarianceValidationError) Error ¶
func (e VarianceValidationError) Error() string
Error satisfies the builtin error interface
func (VarianceValidationError) ErrorName ¶
func (e VarianceValidationError) ErrorName() string
ErrorName returns error name.
func (VarianceValidationError) Field ¶
func (e VarianceValidationError) Field() string
Field function returns field value.
func (VarianceValidationError) Key ¶
func (e VarianceValidationError) Key() bool
Key function returns key value.
func (VarianceValidationError) Reason ¶
func (e VarianceValidationError) Reason() string
Reason function returns reason value.