Documentation ¶
Index ¶
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
}
Controller contains all the request handler functions for the admin api.
func NewController ¶
func NewController(namespaceService *namespace.Service) *Controller
NewController creates new Controller instance.
func (Controller) GetCurrentNamespace ¶
func (c Controller) GetCurrentNamespace(ctx *fiber.Ctx) error
GetCurrentNamespace handles `GET /namespaces/current` endpoint.
func (Controller) ListNamespaces ¶
func (c Controller) ListNamespaces(ctx *fiber.Ctx) error
ListNamespaces handles `GET /namespaces/list` endpoint.
Click to show internal directories.
Click to hide internal directories.