response

package
v0.0.0-...-5c26645 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BytesEncoder

type BytesEncoder struct{}

func (*BytesEncoder) EncodeResponse

func (e *BytesEncoder) EncodeResponse(ctx context.Context, w http.ResponseWriter, obj interface{})

type ErrorEncoder

type ErrorEncoder struct{}

func (*ErrorEncoder) HandleError

func (e *ErrorEncoder) HandleError(ctx context.Context, w http.ResponseWriter, err error)

type JsonEncoder

type JsonEncoder struct{}

func (*JsonEncoder) EncodeResponse

func (e *JsonEncoder) EncodeResponse(ctx context.Context, w http.ResponseWriter, obj interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL