pro

package
v0.22.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GroupsIdRoute added in v0.22.3

func GroupsIdRoute(w http.ResponseWriter, req *http.Request)

func GroupsRoute added in v0.22.3

func GroupsRoute(w http.ResponseWriter, req *http.Request)

func IsPro

func IsPro() bool

func RegisterRoutes

func RegisterRoutes(router *mux.Router)

Types

type CreateGroupRequest added in v0.22.3

type CreateGroupRequest struct {
	Name        string             `json:"name" validate:"required"`
	Permissions []utils.Permission `json:"permissions"`
}

type UpdateGroupRequest added in v0.22.3

type UpdateGroupRequest struct {
	Name        *string            `json:"name,omitempty"`
	Permissions []utils.Permission `json:"permissions,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL