config

package
v0.0.0-...-c0cdbda Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Title   string `json:"title"`
	Desc    string `json:"desc"`
	Address string `json:"address"`

	ReposDir  string `json:"repos_dir"`
	CustomDir string `json:"custom_dir"`

	Readme []string `json:"readme"`

	EnableHTTPClone bool `json:"enable_http_clone"`
}

func Default

func Default() (*Config, error)

func (*Config) Parse

func (cfg *Config) Parse(data []byte) error

Jump to

Keyboard shortcuts

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