Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus interface { Read(key string) interface{} Write(key string, data interface{}) GetLock() *sync.Mutex }
func NewDictBus ¶
func NewDictBus() Bus
func NewMockBus ¶
func NewMockBus(r MockBusRead, w MockBusWrite, l MockBusLock) Bus
type BusCreator ¶
type BusCreator func() Bus
func (*BusCreator) UnmarshalJSON ¶
func (b *BusCreator) UnmarshalJSON(data []byte) error
type DictBus ¶
type DictBus struct {
// contains filtered or unexported fields
}
DictBus - simple dict data bass
type MockBus ¶
type MockBus struct {
// contains filtered or unexported fields
}
DictBus - simple dict data bass
type MockBusLock ¶
type MockBusRead ¶
type MockBusRead func(key string) interface{}
type MockBusWrite ¶
type MockBusWrite func(key string, data interface{})
Click to show internal directories.
Click to hide internal directories.