Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore interface {
Store(ctx context.Context, data json.RawMessage) error
}
func NewFileStore ¶
func NewFileStore(directory string, log *zap.SugaredLogger) DataStore
func NewHTTPStore ¶
func NewHTTPStore(endpoint string, log *zap.SugaredLogger) DataStore
Click to show internal directories.
Click to hide internal directories.