Documentation ¶
Overview ¶
Package clconnect provides generic fx dependency for standard ConnectRPC services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New[RO, RW any]( cfg Config, logs *zap.Logger, ro RO, roc ConstructHandler[RO], rw RW, rwc ConstructHandler[RW], ) http.Handler
New inits an http handler for the full RPC api.
Types ¶
type ConstructClient ¶
type ConstructClient[SC any] func(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SC
ConstructClient is a funct signature that constructs a client.
type ConstructHandler ¶
ConstructHandler defines the type for constructing a connectrpc service handler.
Click to show internal directories.
Click to hide internal directories.