config

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseDir

func BaseDir() string

func MountsDir

func MountsDir() string

Types

type MountConfig

type MountConfig struct {
	Mountpoint  string
	Daemon      bool
	CacheDir    string
	CacheSize   string
	MetadataTTL int
	LogFile     string
	LogLevel    string
	ReadOnly    bool
	Domains     string
	LarkCLIPath string
}

func (*MountConfig) EnabledDomains

func (c *MountConfig) EnabledDomains() []string

func (*MountConfig) Resolve

func (c *MountConfig) Resolve() error

type ServeConfig

type ServeConfig struct {
	Port        int
	Addr        string
	Daemon      bool
	LogLevel    string
	ReadOnly    bool
	Domains     string
	LarkCLIPath string
}

Jump to

Keyboard shortcuts

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