Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger *zap.SugaredLogger `yaml:"-"`
AccessLogger *zap.SugaredLogger `yaml:"-"`
ListenAddr string `yaml:"listen_addr"`
}
type SubdomainRouter ¶
type SubdomainRouter struct {
// contains filtered or unexported fields
}
func (SubdomainRouter) ServeHTTP ¶
func (s SubdomainRouter) ServeHTTP(w http.ResponseWriter, r *http.Request)
type WebBackend ¶
type WebBackend struct {
// contains filtered or unexported fields
}
func (*WebBackend) AddSubdomainRouter ¶
func (b *WebBackend) AddSubdomainRouter(subdomain string, r http.Handler) error
func (*WebBackend) RunHTTP ¶
func (b *WebBackend) RunHTTP() error
Click to show internal directories.
Click to hide internal directories.