Versions in this module Expand all Collapse all v1 v1.0.0 Sep 3, 2023 Changes in this version + func AbortJSON(ctx *gin.Context, statusCode int, verdict string, message string, ...) + func Authenticate(verifier auth.Verifier) gin.HandlerFunc + func MaxBody(maxBytes int64) gin.HandlerFunc + func Recovery() gin.HandlerFunc + func RegisterTagNameFunc() bool + func RequestIDMiddleware() gin.HandlerFunc + func RequestTimeMiddleware() gin.HandlerFunc + func SendError(ctx *gin.Context, _ error) + func SendInvalidParameters(ctx *gin.Context, names []string) + func SendJSON(ctx *gin.Context, statusCode int, verdict string, message string, ...) + func SendSuccess(ctx *gin.Context, message string, data interface{}) + func SendValidationError(ctx *gin.Context, err error) + func Setup() + func Start(ctx context.Context, engine *gin.Engine, address string, options ...OptionFunc) error + func TracingMiddleware(service string, opts ...otelgin.Option) gin.HandlerFunc + type Field struct + Message string + Name string + func GetUnmarshalErrorParameters(err error) (*Field, bool) + type Fields []*Field + func GetInvalidParameters(err error) Fields + func (f Fields) GetNames() []string + func (f Fields) ToKeyValues() types.Map + type OptionFunc func(s *http.Server)