Documentation ¶
Index ¶
- func InMemoryController[T config[T]](opts ...InMemoryControllerOption[T]) (*reactive.Controller[T], context.Context, context.CancelFunc)
- type InMemoryControllerOption
- func WithExistingActiveConfig[T config[T]](activeConfig T) InMemoryControllerOption[T]
- func WithExistingDefaultConfig[T config[T]](defaultConfig T) InMemoryControllerOption[T]
- func WithInitialActiveConfig[T config[T]](activeConfig T) InMemoryControllerOption[T]
- func WithInitialDefaultConfig[T config[T]](defaultConfig T) InMemoryControllerOption[T]
- type InMemoryControllerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InMemoryController ¶
func InMemoryController[T config[T]](opts ...InMemoryControllerOption[T]) (*reactive.Controller[T], context.Context, context.CancelFunc)
Types ¶
type InMemoryControllerOption ¶
type InMemoryControllerOption[T config[T]] func(*InMemoryControllerOptions[T])
func WithExistingActiveConfig ¶
func WithExistingActiveConfig[T config[T]](activeConfig T) InMemoryControllerOption[T]
func WithExistingDefaultConfig ¶
func WithExistingDefaultConfig[T config[T]](defaultConfig T) InMemoryControllerOption[T]
func WithInitialActiveConfig ¶
func WithInitialActiveConfig[T config[T]](activeConfig T) InMemoryControllerOption[T]
func WithInitialDefaultConfig ¶
func WithInitialDefaultConfig[T config[T]](defaultConfig T) InMemoryControllerOption[T]
type InMemoryControllerOptions ¶
type InMemoryControllerOptions[T config[T]] struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.