Documentation
¶
Index ¶
- func TypeOf(iface interface{}) string
- func ValueOf(iface interface{}) interface{}
- type Base
- type Bool
- type BoolType
- type Enum
- type Identity
- type Int
- type IntType
- type Manufacturer
- type Model
- type Name
- type Notifier
- type NotifyFunc
- type Power
- type Setter
- type String
- type StringType
- type UpdateFunc
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
type Manufacturer ¶
type Manufacturer struct {
String
}
func NewManufacturer ¶
func NewManufacturer() *Manufacturer
type Notifier ¶
type Notifier interface {
Notify(val interface{}) error
SetNotifyFunc(NotifyFunc)
}
type NotifyFunc ¶
type NotifyFunc func(val interface{}) error
type String ¶
type String struct {
Base
// contains filtered or unexported fields
}
func StringWithValidValues ¶
type StringType ¶
type UpdateFunc ¶
type UpdateFunc func(val interface{}) error
Click to show internal directories.
Click to hide internal directories.