Documentation
¶
Index ¶
Constants ¶
View Source
const ( OutputDirectoryKey = "output_directory" ProviderKey = "provider" ProfileKey = "profile" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore interface {
Get(ctx context.Context, key string) (interface{}, error)
GetString(ctx context.Context, key string) string
GetBool(ctx context.Context, key string) bool
GetInt(ctx context.Context, key string) int
DataMap(ctx context.Context) map[string]interface{}
Set(ctx context.Context, key string, value interface{}) error
AddAll(ctx context.Context, data map[string]interface{}) error
}
func NewMemoryStore ¶
func NewMemoryStore() DataStore
func NewMemoryStoreWithData ¶
Click to show internal directories.
Click to hide internal directories.