Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build() *http.Server
- func (b *Builder) WithHandlerFunc(pattern string, handlerFunc func(w http.ResponseWriter, r *http.Request)) *Builder
- func (b *Builder) WithMonitor(monitor monitor.Monitor) *Builder
- func (b *Builder) WithPort(port uint16) *Builder
- func (b *Builder) WithProxyTarget(url string) *Builder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Router *http.ServeMux Monitor monitor.Monitor // contains filtered or unexported fields }
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) WithHandlerFunc ¶
func (*Builder) WithProxyTarget ¶
Click to show internal directories.
Click to hide internal directories.