Documentation ¶
Index ¶
- Constants
- func CheckAkasaletArgs(args *protos.AkasaletArgs) error
- func DataDir() (string, error)
- func LogsDir() string
- func NewTempDir() (string, error)
- func OnExitSignal(f func())
- func ParseConfig(file string, input string, sectionValidator func(string, string) error) (*protos.AppConfig, error)
- func ParseConfigSection(key, shortKey string, sections map[string]string, dst any) error
- type Bootstrap
Constants ¶
View Source
const (
// AkasaletArgsKey 环境变量的key
AkasaletArgsKey = "AKASALET_ARGS"
)
View Source
const Root = "github.com/kanengo/akasar/Root"
Variables ¶
This section is empty.
Functions ¶
func CheckAkasaletArgs ¶
func CheckAkasaletArgs(args *protos.AkasaletArgs) error
func NewTempDir ¶
func OnExitSignal ¶
func OnExitSignal(f func())
Types ¶
Click to show internal directories.
Click to hide internal directories.