Documentation
¶
Index ¶
- type Controler
- func (c *Controler) File(file string, w http.ResponseWriter, r *http.Request)
- func (c *Controler) LogReq(calback func(log logx.FieldLogger))
- func (c *Controler) LogSer(calback func(log logx.FieldLogger))
- func (c *Controler) Panicf(format string, args ...any)
- func (c *Controler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (c *Controler) Sett() *setting.Setting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controler ¶
type Controler struct {
LogPanic logx.FieldLogger
LogServer logx.FieldLogger
LogRequest logx.FieldLogger
Setting *setting.Setting
}
func (*Controler) LogReq ¶
func (c *Controler) LogReq(calback func(log logx.FieldLogger))
func (*Controler) LogSer ¶
func (c *Controler) LogSer(calback func(log logx.FieldLogger))
Click to show internal directories.
Click to hide internal directories.