Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger(log logger.Logger) gin.HandlerFunc
A Logger Middleware for gin engine, it's store our logs in formatted. Just demo, need check for better interface
func NewService ¶
func NewService(name string) *ginService
Types ¶
type GinService ¶
type GinService interface {
Port() int
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.