Documentation ¶
Index ¶
- type Controller
- func (controller Controller) CreateVersion(writer http.ResponseWriter, request *http.Request)
- func (controller Controller) Init(router *mux.Router)
- func (controller Controller) ListVersions(writer http.ResponseWriter, request *http.Request)
- func (controller Controller) ListVersionsDiff(writer http.ResponseWriter, request *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(service service.ConfigService, logger *zap.Logger) *Controller
func (Controller) CreateVersion ¶
func (controller Controller) CreateVersion(writer http.ResponseWriter, request *http.Request)
func (Controller) Init ¶
func (controller Controller) Init(router *mux.Router)
func (Controller) ListVersions ¶
func (controller Controller) ListVersions(writer http.ResponseWriter, request *http.Request)
func (Controller) ListVersionsDiff ¶
func (controller Controller) ListVersionsDiff(writer http.ResponseWriter, request *http.Request)
Click to show internal directories.
Click to hide internal directories.