Documentation ¶
Index ¶
- type Config
- type Cookie
- type Key
- func (k Key) Bool() bool
- func (k Key) Int() int
- func (k Key) MustBool(defaultVal ...bool) bool
- func (k Key) MustString(defaultValue string) string
- func (k Key) String() string
- func (k Key) StringExpand() string
- func (k Key) StringMap() map[string]interface{}
- func (k Key) StringSlice() []string
- func (k Key) Strings(delim string) []string
- type Section
- type Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Cookie ¶
type Cookie struct { // SecretKey Cookieシークレットキー SecretKey string `mapstructure:"secret_key"` // Secure セキュアクッキー Secure bool `mapstructure:"secure"` // SameSiteDisabled SameSiteDisabled bool `mapstructure:"same_site_disabled"` SameSiteMode http.SameSite `mapstructure:"same_site_mode"` KeyPairs []string `mapstructure:"key_pairs"` }
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
func (Key) MustString ¶
func (Key) StringExpand ¶
func (Key) StringSlice ¶
Click to show internal directories.
Click to hide internal directories.