Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Main = gcmd.Command{ Name: "main", Usage: "main", Brief: "start http server", Func: func(ctx context.Context, parser *gcmd.Parser) (err error) { if cool.IsRedisMode { go cool.ListenFunc(ctx) } s := g.Server() if gfile.IsDir("frontend/dist") { s.SetServerRoot("frontend/dist") } s.BindHandler("/i18n", i18n.I18nInfo) s.Run() return nil }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.