store

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &Config{},
	Dev: &Config{
		ServerURL: miniredisURL,
	},
}

Functions

func New

func New(z *zap.Logger, cfg *Config) (sdkservices.Store, *redis.Client, error)

func Prefix

func Prefix(projectID sdktypes.ProjectID, envID sdktypes.EnvID) string

Types

type Config

type Config struct {
	ServerURL string `koanf:"server_url"`
}

Jump to

Keyboard shortcuts

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