Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DConfig string
Functions ¶
Types ¶
type Gemini ¶
type Gemini struct { DefaultLang string AutoRedirect bool AutoRedirectUrl string File []struct { Router string `toml:"Router"` Path string `toml:"Path"` } `toml:"File"` Dir []struct { Router string `toml:"Router"` Path string `toml:"Path"` Index string `toml:"Index"` AutoCatalogue bool `toml:"AutoCatalogue"` } `toml:"Dir"` Proxy []struct { Router string `toml:"Router"` Method string `toml:"Method"` URL string `toml:"URL"` MetaField string `toml:"MetaField"` BodyField string `toml:"BodyField"` } `toml:"Proxy"` }
func ProvideGemini ¶
func ProvideGemini() Gemini
type Log ¶
type Log struct { Level string ToStd bool LogRotate bool Development bool Sampling bool Rotate Rotate }
func ProvideLog ¶
func ProvideLog() Log
type Server ¶
func ProvideServer ¶
Click to show internal directories.
Click to hide internal directories.