Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectEndpoint ¶
type ConnectEndpoint struct { Name string Service any Path string Handler http.Handler Middlewares chi.Middlewares HandlerOptions []connect_go.HandlerOption ClientOptions []connect_go.ClientOption NewHandler any // func(svc T, opts ...connect_go.HandlerOption) (string, http.Handler) NewClient any // func(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) T }
func (*ConnectEndpoint) MountConnect ¶
func (ep *ConnectEndpoint) MountConnect(r chi.Router)
func (*ConnectEndpoint) String ¶
func (ep *ConnectEndpoint) String() string
type ConnectServiceDesc ¶
type ConnectServiceDesc[T any] struct { Name string Service T NewHandler func(svc T, opts ...connect_go.HandlerOption) (string, http.Handler) NewClient func(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) T }
Click to show internal directories.
Click to hide internal directories.