Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultBinder ¶
type DefaultBinder struct {
UnmarshalOptions protojson.UnmarshalOptions
}
func NewDefaultBinder ¶
func NewDefaultBinder() DefaultBinder
func (DefaultBinder) Bind ¶
func (b DefaultBinder) Bind(_ context.Context, req Request, _ httpadapter.MethodSpec, rule httpadapter.HTTPBinding, dst proto.Message) error
type RequestBinder ¶
type RequestBinder interface {
Bind(context.Context, Request, httpadapter.MethodSpec, httpadapter.HTTPBinding, proto.Message) error
}
Click to show internal directories.
Click to hide internal directories.