Documentation ¶
Overview ¶
Service store provides a key-value store to the sarif network.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoResult = errors.New("No result found.")
)
View Source
var Module = &services.Module{ Name: "store", Version: "1.0", NewInstance: NewService, }
Functions ¶
Types ¶
type BatchCommand ¶
type BatchCommand struct { Type string `json:"type"` Key string `json:"key"` Value json.RawMessage `json:"value,omitempty"` }
type DocsPayload ¶
type DocsPayload struct { Keys []string `json:"keys"` Values []*json.RawMessage `json:"values"` }
type Document ¶
type Service ¶
func NewService ¶
func NewService(deps *Dependencies) *Service
Directories ¶
Path | Synopsis |
---|---|
BoltDB driver for the store service.
|
BoltDB driver for the store service. |
Elasticsearch 7 driver for the store service.
|
Elasticsearch 7 driver for the store service. |
Replicate driver for writing to two drivers
|
Replicate driver for writing to two drivers |
Click to show internal directories.
Click to hide internal directories.