Versions in this module Expand all Collapse all v1 v1.0.1 Dec 21, 2024 v1.0.0 Dec 7, 2024 Changes in this version + func AddRouter(register Register) + type Config struct + Addr string + Name string + ReadTimeout int + WriteTimeout int + type Option func(c *Server) + func WithConfig(c Config) Option + type Register func(engine *gin.Engine) + type Server struct + func NewServer(f func(*Server), opts ...Option) *Server + func (s *Server) Shutdown(ctx context.Context) error + func (s *Server) Start() + func (s *Server) Use(middleware ...gin.HandlerFunc)