Versions in this module Expand all Collapse all v0 v0.2.0 Aug 30, 2026 Changes in this version + const CodeError + func FailWithCode(c *gin.Context, code int, msg string) + func FailWithMessage(c *gin.Context, msg string) + func Ok(c *gin.Context) + func OkWithData(c *gin.Context, data any) + func OkWithDataStatus(c *gin.Context, status int, data any) + type Server struct + func New() *Server + func (s *Server) AddValidator(v validator.Func) *Server + func (s *Server) Mount(g *gin.RouterGroup, groups []*contract.Group) + func (s *Server) SetBindErrorStatus(status int) *Server + func (s *Server) SetContextDecorator(fn func(c *gin.Context, ctx context.Context) context.Context) *Server + func (s *Server) SetEnvelope(env response.Envelope) *Server + func (s *Server) SetErrorMapper(fn func(err error) (httpStatus, bizCode int)) *Server + func (s *Server) Use(mw ...gin.HandlerFunc) *Server Other modules containing this package github.com/EdSan845D/oapi-hinge/servergin