i18n

package
v0.0.0-...-d1f39bd Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disconnect

func Disconnect(req *http.Request) string

用户连接已断开

func Get

func Get(req *http.Request, translationID string, args ...interface{}) string

从i18n配置文件中获取id对应的翻译值.

func NoAuth

func NoAuth(req *http.Request) string

func NoSeparator

func NoSeparator(req *http.Request, id string) string

没有分隔符,格式不正确

func PageNotFound

func PageNotFound(req *http.Request) string

页面不存在

func ReadDomain

func ReadDomain(req *http.Request, domain_id string) string

没有权限读取域中的信息

func Register

func Register(file string)

注册i18n文件

func Success

func Success(req *http.Request) string

执行成功

func WriteDomain

func WriteDomain(req *http.Request, domain_id string) string

没有权限向这个域中写入信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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