Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ginrus ¶
func Ginrus(logger loggerEntryWithFields, timeFormat string, utc bool) gin.HandlerFunc
Ginrus returns a gin.HandlerFunc (middleware) that logs requests using logrus.
Requests with error are logged using logrus.Error(). Requests without error are logged using logrus.Info().
It receives:
- A time package format string (e.g. time.RFC3339).
- A boolean stating whether to use UTC time zone or local.
func NotImplemented ¶
func QuickReply ¶
func QuickReplyError ¶
Types ¶
type CommonResponse ¶
Click to show internal directories.
Click to hide internal directories.