Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoServer ¶
type EchoServer struct {
// contains filtered or unexported fields
}
EchoServer is the HTTP server wrapper.
func NewEchoServer ¶
func NewEchoServer( cfg config.Config, pool *pgxpool.Pool, q *gen.Queries, syncer handlers.SyncRunner, reg *registry.ConnectorRegistry, mailAdapter mailer.Mailer, ) (*EchoServer, error)
NewEchoServer creates a new HTTP server.
func (*EchoServer) Shutdown ¶
func (es *EchoServer) Shutdown(ctx context.Context) error
Shutdown gracefully shuts down the HTTP server.
func (*EchoServer) StartServer ¶
func (es *EchoServer) StartServer(server *http.Server) error
StartServer starts the HTTP server with a custom http.Server.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package handlers contains HTTP handler logic split by domain.
|
Package handlers contains HTTP handler logic split by domain. |
|
templ: version: v0.3.1001
|
templ: version: v0.3.1001 |
Click to show internal directories.
Click to hide internal directories.