chartserver

package
v0.0.0-...-3618ce5 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InitCommands = &cobra.Command{
	Use:   "chartserver",
	Short: "A chart server",
}

Functions

This section is empty.

Types

type Options

type Options struct {
	Port int `yaml:"port" json:"port"`

	BaseDirectory string `yaml:"base_directory" json:"base_directory"`
	// contains filtered or unexported fields
}

The application. It includes options and command to execute Run().

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(cmd *cobra.Command)

func (*Options) Parse

func (o *Options) Parse() error

Jump to

Keyboard shortcuts

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