hall

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

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

func (*Circle) GetDescription

func (m *Circle) GetDescription() string

func (*Circle) GetId

func (m *Circle) GetId() int64

func (*Circle) GetName

func (m *Circle) GetName() string

func (*Circle) GetSectors

func (m *Circle) GetSectors() []*Sector

func (*Circle) ProtoMessage

func (*Circle) ProtoMessage()

func (*Circle) Reset

func (m *Circle) Reset()

func (*Circle) String

func (m *Circle) String() string

func (*Circle) Validate

func (m *Circle) Validate() error

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 (m *Circle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Circle) XXX_Merge

func (m *Circle) XXX_Merge(src proto.Message)

func (*Circle) XXX_Size

func (m *Circle) XXX_Size() int

func (*Circle) XXX_Unmarshal

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

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

func (*Hall) GetDescription

func (m *Hall) GetDescription() string

func (*Hall) GetId

func (m *Hall) GetId() int64

func (*Hall) GetName

func (m *Hall) GetName() string

func (*Hall) GetVariances

func (m *Hall) GetVariances() []*Variance

func (*Hall) ProtoMessage

func (*Hall) ProtoMessage()

func (*Hall) Reset

func (m *Hall) Reset()

func (*Hall) String

func (m *Hall) String() string

func (*Hall) Validate

func (m *Hall) Validate() error

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_Marshal

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

func (*Hall) XXX_Merge

func (m *Hall) XXX_Merge(src proto.Message)

func (*Hall) XXX_Size

func (m *Hall) XXX_Size() int

func (*Hall) XXX_Unmarshal

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

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

func (*Seat) GetHeight

func (m *Seat) GetHeight() float64

func (*Seat) GetId

func (m *Seat) GetId() int64

func (*Seat) GetRowText

func (m *Seat) GetRowText() string

func (*Seat) GetSeatText

func (m *Seat) GetSeatText() string

func (*Seat) GetStatus

func (m *Seat) GetStatus() uint32

func (*Seat) GetWidth

func (m *Seat) GetWidth() float64

func (*Seat) GetX

func (m *Seat) GetX() float64

func (*Seat) GetY

func (m *Seat) GetY() float64

func (*Seat) GetZoneColor

func (m *Seat) GetZoneColor() string

func (*Seat) GetZoneId

func (m *Seat) GetZoneId() int64

func (*Seat) ProtoMessage

func (*Seat) ProtoMessage()

func (*Seat) Reset

func (m *Seat) Reset()

func (*Seat) String

func (m *Seat) String() string

func (*Seat) Validate

func (m *Seat) Validate() error

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_Marshal

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

func (*Seat) XXX_Merge

func (m *Seat) XXX_Merge(src proto.Message)

func (*Seat) XXX_Size

func (m *Seat) XXX_Size() int

func (*Seat) XXX_Unmarshal

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

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

func (*Sector) GetCapacity

func (m *Sector) GetCapacity() int64

func (*Sector) GetDescription

func (m *Sector) GetDescription() string

func (*Sector) GetId

func (m *Sector) GetId() int64

func (*Sector) GetName

func (m *Sector) GetName() string

func (*Sector) ProtoMessage

func (*Sector) ProtoMessage()

func (*Sector) Reset

func (m *Sector) Reset()

func (*Sector) String

func (m *Sector) String() string

func (*Sector) Validate

func (m *Sector) Validate() error

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 (m *Sector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Sector) XXX_Merge

func (m *Sector) XXX_Merge(src proto.Message)

func (*Sector) XXX_Size

func (m *Sector) XXX_Size() int

func (*Sector) XXX_Unmarshal

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

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

func (*Stand) GetCircles

func (m *Stand) GetCircles() []*Circle

func (*Stand) GetDescription

func (m *Stand) GetDescription() string

func (*Stand) GetId

func (m *Stand) GetId() int64

func (*Stand) GetName

func (m *Stand) GetName() string

func (*Stand) ProtoMessage

func (*Stand) ProtoMessage()

func (*Stand) Reset

func (m *Stand) Reset()

func (*Stand) String

func (m *Stand) String() string

func (*Stand) Validate

func (m *Stand) Validate() error

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 (m *Stand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Stand) XXX_Merge

func (m *Stand) XXX_Merge(src proto.Message)

func (*Stand) XXX_Size

func (m *Stand) XXX_Size() int

func (*Stand) XXX_Unmarshal

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

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

func (*Variance) GetCapacity

func (m *Variance) GetCapacity() int64

func (*Variance) GetDescription

func (m *Variance) GetDescription() string

func (*Variance) GetId

func (m *Variance) GetId() int64

func (*Variance) GetName

func (m *Variance) GetName() string

func (*Variance) GetStands

func (m *Variance) GetStands() []*Stand

func (*Variance) ProtoMessage

func (*Variance) ProtoMessage()

func (*Variance) Reset

func (m *Variance) Reset()

func (*Variance) String

func (m *Variance) String() string

func (*Variance) Validate

func (m *Variance) Validate() error

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 (m *Variance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Variance) XXX_Merge

func (m *Variance) XXX_Merge(src proto.Message)

func (*Variance) XXX_Size

func (m *Variance) XXX_Size() int

func (*Variance) XXX_Unmarshal

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

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.

Jump to

Keyboard shortcuts

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