Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface { GetSlice(context.Context, *core.StateKey) ([]string, error) SetSlice(context.Context, *core.StateKey, string) (string, error) Remove(context.Context, *core.StateKey) error }
Store ... Interface for a state store TODO() - Add optional redis store implementation
func FromContext ¶
FromContext ... Fetches a state store from context
Click to show internal directories.
Click to hide internal directories.