Documentation ¶
Index ¶
- Constants
- type MultiGrokServer
- func (m *MultiGrokServer) FetchHandler(w http.ResponseWriter, req *http.Request)
- func (m *MultiGrokServer) HelpHandler(w http.ResponseWriter, req *http.Request)
- func (m *MultiGrokServer) ListenAndServeAutoCert(domain, cache string) error
- func (m *MultiGrokServer) ListenAndServeHttp() error
- func (m *MultiGrokServer) ListenAndServeHttps(crt, key string) error
- func (m *MultiGrokServer) LoopBackHandler(w http.ResponseWriter, req *http.Request)
- func (m *MultiGrokServer) RawSearchHandler(w http.ResponseWriter, req *http.Request)
- func (m *MultiGrokServer) RootHandler(w http.ResponseWriter, req *http.Request)
- func (m *MultiGrokServer) SearchHandler(w http.ResponseWriter, req *http.Request)
Constants ¶
View Source
const CACHE_SIZE = 200
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiGrokServer ¶
type MultiGrokServer struct {
// contains filtered or unexported fields
}
func NewMultiGrokServer ¶
func NewMultiGrokServer(backends map[string]backends.Backend, httpPort, httpsPort int) *MultiGrokServer
func (*MultiGrokServer) FetchHandler ¶
func (m *MultiGrokServer) FetchHandler(w http.ResponseWriter, req *http.Request)
func (*MultiGrokServer) HelpHandler ¶
func (m *MultiGrokServer) HelpHandler(w http.ResponseWriter, req *http.Request)
func (*MultiGrokServer) ListenAndServeAutoCert ¶
func (m *MultiGrokServer) ListenAndServeAutoCert(domain, cache string) error
func (*MultiGrokServer) ListenAndServeHttp ¶
func (m *MultiGrokServer) ListenAndServeHttp() error
func (*MultiGrokServer) ListenAndServeHttps ¶
func (m *MultiGrokServer) ListenAndServeHttps(crt, key string) error
func (*MultiGrokServer) LoopBackHandler ¶
func (m *MultiGrokServer) LoopBackHandler(w http.ResponseWriter, req *http.Request)
func (*MultiGrokServer) RawSearchHandler ¶
func (m *MultiGrokServer) RawSearchHandler(w http.ResponseWriter, req *http.Request)
func (*MultiGrokServer) RootHandler ¶
func (m *MultiGrokServer) RootHandler(w http.ResponseWriter, req *http.Request)
func (*MultiGrokServer) SearchHandler ¶
func (m *MultiGrokServer) SearchHandler(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.