Documentation ¶
Index ¶
- Variables
- func MakeHandler(decoder DecoderFunc, handler HandlerFunc, formatter FormatterFunc) gin.HandlerFunc
- func NewClient() *client
- func NewRenderer(ctx context.Context, status int, component templ.Component) *renderer
- func NewRouter(transporters ...Transporter) *gin.Engine
- type DecoderFunc
- type FormatterFunc
- type HandlerFunc
- type HandlerMaker
- type Route
- type Transporter
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRenderer = &renderer{}
Functions ¶
func MakeHandler ¶
func MakeHandler(decoder DecoderFunc, handler HandlerFunc, formatter FormatterFunc) gin.HandlerFunc
func NewRenderer ¶
func NewRouter ¶
func NewRouter(transporters ...Transporter) *gin.Engine
Types ¶
type DecoderFunc ¶
type FormatterFunc ¶
type HandlerFunc ¶
type HandlerMaker ¶
type HandlerMaker func(decoder DecoderFunc, handler HandlerFunc, formatter FormatterFunc) gin.HandlerFunc
type Transporter ¶
type Transporter interface {
MakeRoutes() []*Route
}
Click to show internal directories.
Click to hide internal directories.