Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultWriter ¶
type DefaultWriter struct {
MarshalOptions protojson.MarshalOptions
}
func NewDefaultWriter ¶
func NewDefaultWriter() DefaultWriter
func (DefaultWriter) Write ¶
func (w DefaultWriter) Write(_ context.Context, resp Response, _ httpadapter.MethodSpec, rule httpadapter.HTTPBinding, src proto.Message) error
type ResponseWriter ¶
type ResponseWriter interface {
Write(context.Context, Response, httpadapter.MethodSpec, httpadapter.HTTPBinding, proto.Message) error
}
Click to show internal directories.
Click to hide internal directories.