Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
Register(group *gin.RouterGroup) error
}
type HealthCheck ¶
type HealthCheck = func() error
type ServerOption ¶
func WithBasicAuth ¶
func WithBasicAuth(auth BasicAuth) ServerOption
func WithGZIP ¶
func WithGZIP() ServerOption
func WithLogging ¶
func WithLogging(logger *zap.Logger) ServerOption
func WithPort ¶
func WithPort(port int) ServerOption
func WithProfiling ¶
func WithProfiling() ServerOption
func WithRecovery ¶
func WithRecovery() ServerOption
Click to show internal directories.
Click to hide internal directories.