Versions in this module Expand all Collapse all v0 v0.0.2 Feb 9, 2023 Changes in this version + var ErrInvalidType = errors.New("invalid type") + var ErrValueNotStructOrPointer = errors.New("value is not struct or pointer") + func Test(v any) + type Groupor interface + type Groupot struct + func Group(prefix string, structs ...any) *Groupot + func (g *Groupot) Tags(ss ...string) *Groupot + type HackType int8 + const RequestHack + const ResponseHack + type Hackor interface + Invoke func(ctx context.Context) + Name func() string + type Hackot struct + func Hack(htp HackType, handler func(ctx context.Context)) *Hackot + func (m *Hackot) Invoke(ctx context.Context) + func (m *Hackot) Name() string + type Methodor interface + Invoke func(ctx context.Context, input interface{}) (interface{}, error) + type Methodot struct + func Method(handler func(ctx context.Context, input *req) (res, error)) *Methodot[req, res] + func (m *Methodot[i, o]) Description(desc string) *Methodot[i, o] + func (m *Methodot[i, o]) Handler(handler func(ctx context.Context, input *i) (o, error)) *Methodot[i, o] + func (m *Methodot[i, o]) Summary(summary string) *Methodot[i, o] + func (m *Methodot[i, o]) Tags(ss ...string) *Methodot[i, o] + func (m *Methodot[req, res]) Invoke(ctx context.Context, input interface{}) (interface{}, error) + type Middlewareor interface + Invoke func(ctx context.Context) + Name func() string + type Middlewareot struct + func Middleware(handler func(ctx context.Context)) *Middlewareot + func (m *Middlewareot) Invoke(ctx context.Context) + func (m *Middlewareot) Name() string