Documentation ¶
Index ¶
- Variables
- func FrontendURLFor(purl string) string
- func NoticeWriter(ctx echo.Context, noticeType string) (wOut io.Writer, wErr io.Writer, err error)
- func Prefix() string
- func URLFor(purl string) string
- func User(ctx echo.Context) *dbschema.NgingUser
- func UserRoles(ctx echo.Context) []*dbschema.NgingUserRole
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewLister = common.NewLister Paging = common.Paging PagingWithPagination = common.PagingWithPagination PagingWithLister = common.PagingWithLister PagingWithListerCond = common.PagingWithListerCond PagingWithSelectList = common.PagingWithSelectList Ok = common.Ok Err = common.Err SendErr = common.SendErr SendFail = common.SendFail SendOk = common.SendOk GetRoleList = func(echo.Context) []*dbschema.NgingUserRole { return nil } )
View Source
var ( WebSocketLogger = log.GetLogger(`websocket`) GlobalPrefix string //路由前缀(全局) FrontendPrefix string //路由前缀(前台) BackendPrefix string //路由前缀(后台) Echo = route.Echo Apply = route.Apply SetRootGroup = route.SetRootGroup PublicHandler = route.PublicHandler GuestHandler = route.GuestHandler Register = func(fn func(echo.RouteRegister)) { route.RegisterToGroup(`@`, fn) } // Use “@”符号代表后台网址前缀 Use = func(groupName string, middlewares ...interface{}) { if groupName != `*` { groupName = `@` + groupName } route.Use(groupName, middlewares...) } RegisterToGroup = func(groupName string, fn func(echo.RouteRegister), middlewares ...interface{}) { route.RegisterToGroup(`@`+groupName, fn, middlewares...) } Host = route.Host )
Functions ¶
func FrontendURLFor ¶
func NoticeWriter ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
file
Package file 上传文件管理
|
Package file 上传文件管理 |
Package natss NATS Streaming Server
|
Package natss NATS Streaming Server |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
Nging is a toolbox for webmasters Copyright (C) 2018-present Wenhui Shen <swh@admpub.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
Click to show internal directories.
Click to hide internal directories.