Help us shape the future of Go! Take the 2026 Go Developer Survey

local

package
v1.38.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL