config

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "us3ui"
View Source
const Transient = "<Transient>"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.5.0

type Config struct {
	Settings Settings
	// contains filtered or unexported fields
}

func New added in v0.5.0

func New() (*Config, error)

func (*Config) Save added in v0.5.0

func (c *Config) Save() error

type S3Config

type S3Config struct {
	Name      string `json:"name"`
	Endpoint  string `json:"endpoint" cli:"endpoint" env:"ENDPOINT"`
	AccessKey string `json:"accessKey" cli:"accesskey" env:"ACCESS_KEY"`
	SecretKey string `json:"secretKey" cli:"secretkey" env:"SECRET_KEY"`
	Bucket    string `json:"bucket" cli:"bucket" env:"BUCKET"`
	Prefix    string `json:"prefix" cli:"prefix" env:"PREFIX"`
	Region    string `json:"region" cli:"region" env:"REGION"`
	UseSSL    bool   `json:"usessl" cli:"usessl" env:"USE_SSL"`
}

func NewS3Config

func NewS3Config() (S3Config, error)

type Settings added in v0.5.0

type Settings struct {
	Connections []S3Config `json:"connections"`
}

Jump to

Keyboard shortcuts

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