Versions in this module Expand all Collapse all v0 v0.1.0 Jul 2, 2024 Changes in this version + type EndpointClient struct + func NewEndpointClient(endpointUrl string, opts ...EndpointClientOption) (*EndpointClient, error) + func (c *EndpointClient) Run(ctx context.Context, req dispatchproto.Request) (dispatchproto.Response, error) + type EndpointClientOption func(*EndpointClient) + func ClientOptions(opts ...connect.ClientOption) EndpointClientOption + func HTTPClient(client connect.HTTPClient) EndpointClientOption + func RequestHeaders(header http.Header) EndpointClientOption + func SigningKey(signingKey ed25519.PrivateKey) EndpointClientOption + type Handler interface + Handle func(ctx context.Context, header http.Header, calls []dispatchproto.Call) ([]dispatchproto.ID, error) + func HandlerFunc(...) Handler + type Server struct + func New(handler Handler, opts ...connect.HandlerOption) (*Server, error) + func (s *Server) Handler() (string, http.Handler) + func (s *Server) Serve(addr string) error