Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostRouter ¶
type HostRouter struct {
// contains filtered or unexported fields
}
func NewHostRouter ¶
func NewHostRouter(notFoundHandler http.HandlerFunc, internalServerHandler func(err error) http.HandlerFunc) HostRouter
func (*HostRouter) Get ¶
func (hr *HostRouter) Get(domain string) chi.Router
func (*HostRouter) Map ¶
func (hr *HostRouter) Map(host string, h chi.Router)
func (HostRouter) ServeHTTP ¶
func (hr HostRouter) ServeHTTP(w http.ResponseWriter, r *http.Request)
type InternalServer ¶
type InternalServer struct {
// contains filtered or unexported fields
}
func NewInternalServer ¶
func (*InternalServer) GenerateServer ¶
func (svr *InternalServer) GenerateServer() error
func (*InternalServer) Listen ¶
func (svr *InternalServer) Listen() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.