Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer[Request, Response any]( g endpoint.Generic[Request, Response], dec func(context.Context, *http.Request) (Request, error), enc func(context.Context, http.ResponseWriter, Response) error, options ...kithttp.ServerOption, ) *kithttp.Server
NewServer returns a new http.Handler that wraps the provided endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.