Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyServerBuilder ¶
type ProxyServerBuilder interface { ToEndpoint(lm.Endpoint) ProxyServerBuilder WithBasicAuth(string, string) ProxyServerBuilder DisableProxyErrorPage() ProxyServerBuilder EnableInsecureHTTPSBackend() ProxyServerBuilder Build() (*http.Server, error) }
ProxyServerBuilder is used to proxy to already running server
type ServerBuilder ¶
type ServerBuilder interface { WithSiteID(string) ServerBuilder WithDomain(string) ServerBuilder DisableOldCiphers(bool) ServerBuilder Proxy() ProxyServerBuilder ServeStatic() StaticServerBuilder ServeWebdav() WebdavServerBuilder }
type StaticServerBuilder ¶
type StaticServerBuilder interface { FromDirectory(string) StaticServerBuilder WithBasicAuth(string, string) StaticServerBuilder Build() (*http.Server, error) }
StaticServerBuilder is used to create server which expose local directory
type WebdavServerBuilder ¶
type WebdavServerBuilder interface { FromDirectory(string) WebdavServerBuilder WithBasicAuth(string, string) WebdavServerBuilder Build() (*http.Server, error) }
WebdavServerBuilder is used to create server which expose local directory
Click to show internal directories.
Click to hide internal directories.