Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExportServer ¶
func NewExportServer(config ExportServerConfig) service.Service
Types ¶
type ExportServerConfig ¶
type ExportServerConfig struct { Deadline time.Time ListenAddr string CertFile, KeyFile string TokenFile string Volumes []VolumeInfo // unit testing helpers ArchiveHandler func(string) http.Handler DirHandler func(string, string) http.Handler FileHandler func(string) http.Handler GzipHandler func(string) http.Handler TokenGetter TokenGetterFunc }
type TokenGetterFunc ¶
Click to show internal directories.
Click to hide internal directories.