Versions in this module Expand all Collapse all v1 v1.0.0 Feb 13, 2026 Changes in this version + func Identity[I any](in *I) (*I, error) + func IndirectJSONInput[P any, I any](t func(*P) (*I, error)) func(r *http.Request) (*I, error) + func ParseJSON[P any](r *http.Request) (*P, error) + func Transform[I any, O any](getInput func(r *http.Request) (*I, error), t func(*I) (*O, error)) func(r *http.Request) (*O, error) + func WriteJSON[T any](w http.ResponseWriter, val *T) + func Zero[I any](r *http.Request) (*I, error) + type Invoker struct + func BindTx[Tx operator.Transaction, I any, O any](hub *operator.Hub[Tx], op func(*operator.OpContext[Tx], Tx, *I) (*O, error)) *Invoker[Tx, I, O] + func Bind[Tx operator.Transaction, I any, O any](hub *operator.Hub[Tx], op func(*operator.OpContext[Tx], *I) (*O, error)) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) Go(w http.ResponseWriter, r *http.Request) + func (i *Invoker[Tx, I, O]) WithContext(ctx context.Context) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithContextFunc(fn func(*http.Request) context.Context) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithErrorMapper(fn func(w http.ResponseWriter, err error)) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithInputMapper(fn func(*http.Request) (*I, error)) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithJSONOutput(fn func(w http.ResponseWriter, o *O) any) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithJSONOutputFunc(fn func(w http.ResponseWriter, o *O)) *Invoker[Tx, I, O] + func (i *Invoker[Tx, I, O]) WithOutputMapper(fn func(w http.ResponseWriter, o *O)) *Invoker[Tx, I, O] Other modules containing this package github.com/jaz303/operator/v2