Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ReadTimeout is the maximum duration for reading the entire // request, including the body. ReadTimeout = 5 * time.Second // WriteTimeout is the maximum duration before timing out // writes of the response. WriteTimeout = 10 * time.Second // IdleTimeout is the maximum amount of time to wait for the // next request when keep-alives are enabled. IdleTimeout = 30 * time.Second // ReadHeaderTimeout is the amount of time allowed to read // request headers. ReadHeaderTimeout = 2 * time.Second // RequestTimeout is the maximum duration for the entire // request. RequestTimeout = 7 * 24 * time.Hour )
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(ctx context.Context, cfg *config.Config, fingers webfingers.WebFingers) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.