Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailoverStream ¶ added in v1.3.0
func GetBackupInfoFunc ¶ added in v1.3.0
func GetBackupInfoFunc(w http.ResponseWriter, req *http.Request)
func LogsHandlerFunc ¶
func LogsHandlerFunc(w http.ResponseWriter, req *http.Request)
Types ¶
type FailoverHandler ¶ added in v1.3.0
type FailoverHandler struct {
DataDir string
// Password is the operator user's password, read on every request so a
// rotated secret is picked up. Callers authenticate as that user.
Password func() (string, error)
}
func (*FailoverHandler) ServeHTTP ¶ added in v1.3.0
func (h *FailoverHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
type StreamConfig ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.