Documentation ¶ Index ¶ type Local func New(sourceSpec specs.Source) (*Local, error) func (l *Local) Close(_ context.Context) error func (l *Local) Get(_ context.Context, table, clientID string) (string, error) func (l *Local) Set(_ context.Context, table, clientID, value string) error type Spec func (s *Spec) SetDefaults() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Local ¶ type Local struct { // contains filtered or unexported fields } func New ¶ func New(sourceSpec specs.Source) (*Local, error) func (*Local) Close ¶ func (l *Local) Close(_ context.Context) error func (*Local) Get ¶ func (l *Local) Get(_ context.Context, table, clientID string) (string, error) func (*Local) Set ¶ func (l *Local) Set(_ context.Context, table, clientID, value string) error type Spec ¶ type Spec struct { // Path is the path to the local directory. Path string `json:"path"` } func (*Spec) SetDefaults ¶ func (s *Spec) SetDefaults() Source Files ¶ View all Source files local.go spec.go Click to show internal directories. Click to hide internal directories.