Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoTLSOptions ¶
type AutoTLSOptions struct { Domains []string Email string Production bool DNS bool DNSProvider string DNSAPIToken string }
AutoTLSOptions configures automatic TLS for Response Server's TCP server.
type Backend ¶
type Backend interface { Database() *database.Database Cluster() cluster.Cluster Events() events.PubSub }
Backend is implemented by a service capable of acting as the backend for the HTTP server.
type Options ¶
type Options struct { BindAddress string Port int MaxUploadSize int TLS *TLSOptions AutoTLS *AutoTLSOptions ServeProfiler bool ServeGraphQL bool ServeGraphQLPlayground bool }
Options configures Server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the TCP server that powers Response Server's HTTP(S) services.
type TLSOptions ¶
TLSOptions configured TLS for Response Server's TCP server.
Click to show internal directories.
Click to hide internal directories.