Documentation ¶
Index ¶
- Constants
- func InitOAuth2Config(o2ConfigSet *ms.ConfigMoreSet) error
- func InitSession(sessionProvider string, sessionConfig *session.ManagerConfig, ...)
- func NewLoggerAdapterConsole() *logs.BeeLogger
- func ProcErrPg(err error) error
- func WriteHtml(rw http.ResponseWriter, html []byte) (int, error)
- type BeegoLogsMore
- func (lm *BeegoLogsMore) Critical(s string)
- func (lm *BeegoLogsMore) Criticalf(format string, a ...interface{})
- func (lm *BeegoLogsMore) Error(s string)
- func (lm *BeegoLogsMore) Errorf(format string, a ...interface{})
- func (lm *BeegoLogsMore) Info(s string)
- func (lm *BeegoLogsMore) Infof(format string, a ...interface{})
- func (lm *BeegoLogsMore) Warn(s string)
- func (lm *BeegoLogsMore) Warnf(format string, a ...interface{})
Constants ¶
View Source
const ( BeegoOauth2ProvidersCfgVar string = "oauth2providers" BeegoOauth2ConfigCfgVarPrefix string = "oauth2config" )
View Source
const ( BeegoSessionCookieNameCfgVar string = "sessioncookiename" BeegoSessionCookieNameDefault string = "gosessionid" BeegoSessionProviderCfgVar string = "sessionprovidername" BeegoSessionProviderDefault string = "memory" )
Variables ¶
This section is empty.
Functions ¶
func InitOAuth2Config ¶
func InitOAuth2Config(o2ConfigSet *ms.ConfigMoreSet) error
func InitSession ¶
func InitSession(sessionProvider string, sessionConfig *session.ManagerConfig, log *BeegoLogsMore)
InitSession creates a starts session management https://beego.me/docs/module/session.md
func NewLoggerAdapterConsole ¶
func ProcErrPg ¶
ProcErrPg removes the "no LastInsertId available" error. See more here: https://github.com/astaxie/beego/issues/3070 .
Types ¶
type BeegoLogsMore ¶
func NewBeegoLogsMoreAdapterConsole ¶
func NewBeegoLogsMoreAdapterConsole() *BeegoLogsMore
func (*BeegoLogsMore) Critical ¶
func (lm *BeegoLogsMore) Critical(s string)
Critical outputs a warning log message
func (*BeegoLogsMore) Criticalf ¶
func (lm *BeegoLogsMore) Criticalf(format string, a ...interface{})
Criticalf outputs a formatted warning log message
func (*BeegoLogsMore) Error ¶
func (lm *BeegoLogsMore) Error(s string)
Error outputs an information log message
func (*BeegoLogsMore) Errorf ¶
func (lm *BeegoLogsMore) Errorf(format string, a ...interface{})
Errorf outputs a formatted information log message
func (*BeegoLogsMore) Info ¶
func (lm *BeegoLogsMore) Info(s string)
Info outputs an information log message
func (*BeegoLogsMore) Infof ¶
func (lm *BeegoLogsMore) Infof(format string, a ...interface{})
Infof outputs a formatted information log message
func (*BeegoLogsMore) Warn ¶
func (lm *BeegoLogsMore) Warn(s string)
Warn outputs a warning log message
func (*BeegoLogsMore) Warnf ¶
func (lm *BeegoLogsMore) Warnf(format string, a ...interface{})
Warnf outputs a formatted warning log message
Click to show internal directories.
Click to hide internal directories.