Documentation
¶
Index ¶
Constants ¶
View Source
const MaxCachedPublicationAmount = 10
View Source
const MaxCachedPublicationTTL = time.Second * time.Duration(600)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Remote ¶
type Remote struct { LocalDirectory string // Local directory base path S3 *s3.Client // AWS S3-compatible storage GCS *storage.Client // Google Cloud Storage HTTP *http.Client // HTTP-requested storage HTTPEnabled bool // Whether HTTP is enabled HTTPSEnabled bool // Whether HTTPS is enabled Config archive.RemoteArchiveConfig }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(config ServerConfig, remote Remote) *Server
type ServerConfig ¶
type ServerConfig struct { Debug bool JSONIndent string InferA11yMetadata streamer.InferA11yMetadata }
Directories
¶
Path | Synopsis |
---|---|
* Written in 2019 by Andrew Ayer * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide.
|
* Written in 2019 by Andrew Ayer * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide. |
Click to show internal directories.
Click to hide internal directories.