Documentation ¶
Index ¶
- type Option
- type OptionFN
- func Class(class resource2.Class) OptionFN
- func DefaultEffect(effect resource2.Effect) OptionFN
- func Device(deviceID int64) OptionFN
- func Equipment(equipmentID int64) OptionFN
- func Group(groupID int64) OptionFN
- func Keyword(keyword string) OptionFN
- func Kind(kind resource2.MeasureKind) OptionFN
- func Limit(limit int64) OptionFN
- func Measure(measureID int64) OptionFN
- func Name(name string) OptionFN
- func Offset(offset int64) OptionFN
- func OrderBy(orderBy string) OptionFN
- func Organization(orgID int64) OptionFN
- func Page(page, pageSize int64) OptionFN
- func Parent(parentID int64) OptionFN
- func Role(roleID int64) OptionFN
- func State(stateID int64) OptionFN
- func Status(status int64) OptionFN
- func User(userID int64) OptionFN
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { Limit int64 Offset int64 Kind resource2.MeasureKind Class resource2.Class OrgID int64 ParentID *int64 RoleID *int64 UserID *int64 GroupID *int64 DeviceID int64 MeasureID int64 EquipmentID int64 StateID int64 Status *int64 Name string Keyword string DefaultEffect resource2.Effect OrderBy string }
type OptionFN ¶
type OptionFN func(*Option)
func DefaultEffect ¶
func Kind ¶
func Kind(kind resource2.MeasureKind) OptionFN
func Organization ¶
Click to show internal directories.
Click to hide internal directories.