opmodels

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultUserName = "Super User"
	DefaultUser     = "superuser"

	DefaultGroupName = "Super Admin"
	DefaultGroup     = "super_admin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NewTenant

type NewTenant struct {
	Name          string `json:"name,omitempty"`
	Slug          string `json:"slug,omitempty"`
	SuperPassword string `json:"super_password,omitempty"`
	SuperEmail    string `json:"super_email,omitempty"`
}

type OperatorLoginReq

type OperatorLoginReq struct {
	User          string `json:"user,omitempty"`
	Password      string `json:"password,omitempty"`
	MasterOpToken string `json:"master_op_token,omitempty"`
}

type OperatorLoginResp

type OperatorLoginResp struct {
	Token string `json:"token,omitempty"`
}

Jump to

Keyboard shortcuts

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