Documentation
¶
Index ¶
- Variables
- type Entrypoint
- func (ep *Entrypoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (ep *Entrypoint) SetAccessLogger(parent task.Parent, cfg *accesslog.RequestLoggerConfig) (err error)
- func (ep *Entrypoint) SetFindRouteDomains(domains []string)
- func (ep *Entrypoint) SetMiddlewares(mws []map[string]any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchRoute = errors.New("no such route")
Functions ¶
This section is empty.
Types ¶
type Entrypoint ¶
type Entrypoint struct {
// contains filtered or unexported fields
}
func NewEntrypoint ¶
func NewEntrypoint() *Entrypoint
func (*Entrypoint) ServeHTTP ¶
func (ep *Entrypoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*Entrypoint) SetAccessLogger ¶
func (ep *Entrypoint) SetAccessLogger(parent task.Parent, cfg *accesslog.RequestLoggerConfig) (err error)
func (*Entrypoint) SetFindRouteDomains ¶
func (ep *Entrypoint) SetFindRouteDomains(domains []string)
func (*Entrypoint) SetMiddlewares ¶
func (ep *Entrypoint) SetMiddlewares(mws []map[string]any) error
Click to show internal directories.
Click to hide internal directories.