Documentation ¶
Index ¶
- Constants
- func Decrypt(content string, decryptedKey string) (string, error)
- func Encrypt(content string, decryptedKey string) (string, error)
- func Language(r *http.Request) string
- func NewExpandReader(file string, expandEnv bool) (io.ReadCloser, error)
- func RegisterLanguageMatcher() error
- func T(lang, text string) string
- func W(r *http.Request, message string) string
- type Cache
- type Database
- type Decryptor
- type Duration
- type LanguageDict
- type OSS
Constants ¶
View Source
const (
MiByte = 1 << 20
)
Variables ¶
This section is empty.
Functions ¶
func NewExpandReader ¶
func NewExpandReader(file string, expandEnv bool) (io.ReadCloser, error)
func RegisterLanguageMatcher ¶
func RegisterLanguageMatcher() error
Types ¶
type Database ¶
type Duration ¶
func (*Duration) UnmarshalText ¶
type LanguageDict ¶
Click to show internal directories.
Click to hide internal directories.