Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct {
BypassDriver BypassDriver
}
func (*Backend) DeleteBypass ¶
func (b *Backend) DeleteBypass(w http.ResponseWriter, r *http.Request)
func (*Backend) GetBypasses ¶
func (b *Backend) GetBypasses(w http.ResponseWriter, r *http.Request)
func (*Backend) PostBypass ¶
func (b *Backend) PostBypass(w http.ResponseWriter, r *http.Request)
type BypassDriver ¶
type BypassDriver interface { ListBypass() []api.BypassStatus StartBypass(*api.BypassSpec) (*api.BypassStatus, error) StopBypass(id string) error }
Click to show internal directories.
Click to hide internal directories.