cli

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cli contains shared command-line helpers and utilities.

Index

Constants

This section is empty.

Variables

View Source
var NoStorageOptions = errors.New("storage backend does not support options, please specify no (or empty) options")

Functions

This section is empty.

Types

type Storage

type Storage struct {
	Storage StringAccumulator
	DSN     StringAccumulator
	Options StringAccumulator
}

func NewStorage

func NewStorage() *Storage

func (*Storage) Parse

func (s *Storage) Parse(logger log.Logger) (storage.AllStorage, error)

type StringAccumulator

type StringAccumulator []string

func (*StringAccumulator) Set

func (s *StringAccumulator) Set(value string) error

func (*StringAccumulator) String

func (s *StringAccumulator) String() string

Jump to

Keyboard shortcuts

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