Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogHandler ¶
type LogHandler struct {
// contains filtered or unexported fields
}
LogHandler is a handler for cs2-log HTTP.
func NewLogHandler ¶
func NewLogHandler(h handler) LogHandler
NewLogHandler returns a new LogHandler. This function has side effect to override log line prefix.
func (*LogHandler) Handle ¶
func (l *LogHandler) Handle() gin.HandlerFunc
Handle returns a gin.HandlerFunc to handle cs2-log HTTP.
Click to show internal directories.
Click to hide internal directories.