Documentation ¶
Index ¶
- type Config
- type Handler
- func (h *Handler) ApplyRecords(w http.ResponseWriter, r *http.Request, mod *model.Model)
- func (h *Handler) ListRecords(w http.ResponseWriter, r *http.Request, mod *model.Model)
- func (h *Handler) ListZones(w http.ResponseWriter, r *http.Request)
- func (h *Handler) MatchModel(mh ModelHandler) http.Handler
- func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type ModelHandler
- type Zone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) ApplyRecords ¶
ApplyRecords reads the records from the request body, reads all records from the zonefile, removes all records from the zonefile and inserts the A-records from the request body.
func (*Handler) ListRecords ¶
func (*Handler) ListZones ¶ added in v0.9.0
func (h *Handler) ListZones(w http.ResponseWriter, r *http.Request)
func (*Handler) MatchModel ¶ added in v0.9.0
func (h *Handler) MatchModel(mh ModelHandler) http.Handler
type ModelHandler ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.