Documentation
¶
Overview ¶
Package thf import "github.com/otk-final/thf"
Index ¶
- func InitRender(rd *render.Render)
- type Decoder
- type Encoder
- type Wrapper
- func Wrap[In any, Out any](target ioeFunc[In, Out]) Wrapper[In, Out]
- func WrapE(target eFunc) Wrapper[void, void]
- func WrapI[In any](target iFunc[In]) Wrapper[In, void]
- func WrapIE[In any](target ieFunc[In]) Wrapper[In, void]
- func WrapIO[In any, Out any](target ioFunc[In, Out]) Wrapper[In, Out]
- func WrapO[Out any](target oFunc[Out]) Wrapper[void, Out]
- func WrapOE[Out any](target oeFunc[Out]) Wrapper[void, Out]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRender ¶
Types ¶
type Encoder ¶
type Encoder[R any] interface { Out(http.ResponseWriter, *http.Request, R) Error(http.ResponseWriter, *http.Request, error) }
Click to show internal directories.
Click to hide internal directories.