Documentation
¶
Index ¶
- type LibraryStruct
- type RefreshableLibraryStruct
- type RefreshingLibraryStruct
- func (r RefreshingLibraryStruct) CurrentLibraryStruct() LibraryStruct
- func (r RefreshingLibraryStruct) FieldA() refreshable.Int
- func (r RefreshingLibraryStruct) MapLibraryStruct(mapFn func(LibraryStruct) interface{}) refreshable.Refreshable
- func (r RefreshingLibraryStruct) SubscribeToLibraryStruct(consumer func(LibraryStruct)) (unsubscribe func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibraryStruct ¶
type LibraryStruct struct {
FieldA int
}
type RefreshableLibraryStruct ¶
type RefreshableLibraryStruct interface {
refreshable.Refreshable
CurrentLibraryStruct() LibraryStruct
MapLibraryStruct(func(LibraryStruct) interface{}) refreshable.Refreshable
SubscribeToLibraryStruct(func(LibraryStruct)) (unsubscribe func())
FieldA() refreshable.Int
}
type RefreshingLibraryStruct ¶
type RefreshingLibraryStruct struct {
refreshable.Refreshable
}
func NewRefreshingLibraryStruct ¶
func NewRefreshingLibraryStruct(in refreshable.Refreshable) RefreshingLibraryStruct
func (RefreshingLibraryStruct) CurrentLibraryStruct ¶
func (r RefreshingLibraryStruct) CurrentLibraryStruct() LibraryStruct
func (RefreshingLibraryStruct) FieldA ¶
func (r RefreshingLibraryStruct) FieldA() refreshable.Int
func (RefreshingLibraryStruct) MapLibraryStruct ¶
func (r RefreshingLibraryStruct) MapLibraryStruct(mapFn func(LibraryStruct) interface{}) refreshable.Refreshable
func (RefreshingLibraryStruct) SubscribeToLibraryStruct ¶
func (r RefreshingLibraryStruct) SubscribeToLibraryStruct(consumer func(LibraryStruct)) (unsubscribe func())
Click to show internal directories.
Click to hide internal directories.