serverConsts

package
v0.0.0-...-0f39406 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AdminUserName     = "admin"
	AdminUserPassword = "P2ssw0rd"
	AdminRoleName     = "admin"
)
View Source
const (
	Designing  = 1
	Developing = 2
	Published  = 3
	Abandoned  = 4
)
View Source
const DefaultSever = "http://localhost"
View Source
const IsAdminRole = "YES"
View Source
const IsNotAdminRole = "NO"

Variables

View Source
var (
	SortMap = map[string]string{
		"ascend":  "ASC",
		"descend": "DESC",
		"":        "ASC",
	}
)

Functions

This section is empty.

Types

type AuthType

type AuthType string
const (
	ApiKey      AuthType = "apiKey"
	BearerToken AuthType = "bearerToken"
	BasicAuth   AuthType = "basicAuth"
)

func (AuthType) String

func (e AuthType) String() string

type CategoryDiscriminator

type CategoryDiscriminator string
const (
	EndpointCategory CategoryDiscriminator = "endpoint"
	ScenarioCategory CategoryDiscriminator = "scenario"
	PlanCategory     CategoryDiscriminator = "plan"
	SchemaCategory   CategoryDiscriminator = "schema"
)

func (CategoryDiscriminator) String

func (e CategoryDiscriminator) String() string

type DiagnoseInterfaceType

type DiagnoseInterfaceType string
const (
	DiagnoseInterfaceTypeDir       DiagnoseInterfaceType = "dir"
	DiagnoseInterfaceTypeInterface DiagnoseInterfaceType = "interface"
)

func (DiagnoseInterfaceType) String

func (e DiagnoseInterfaceType) String() string

type DropPos

type DropPos int
const (
	Before DropPos = -1
	Inner  DropPos = 0
	After  DropPos = 1
)

func (DropPos) Int

func (e DropPos) Int() int

type EndpointCaseTreeType

type EndpointCaseTreeType string
const (
	EndpointCaseTreeTypeDir      EndpointCaseTreeType = "dir"
	EndpointCaseTreeTypeEndpoint EndpointCaseTreeType = "endpoint"
	EndpointCaseTreeTypeCase     EndpointCaseTreeType = "case"
)

func (EndpointCaseTreeType) String

func (e EndpointCaseTreeType) String() string

type NodeCreateMode

type NodeCreateMode string
const (
	Brother NodeCreateMode = "brother"
	Child   NodeCreateMode = "child"
)

func (NodeCreateMode) String

func (e NodeCreateMode) String() string

type NodeCreateType

type NodeCreateType string
const (
	Dir  NodeCreateType = "dir"
	Node NodeCreateType = "node"
)

func (NodeCreateType) String

func (e NodeCreateType) String() string

type ProjectSource

type ProjectSource string
const (
	ProjectSourceLY ProjectSource = "ly"
)

func (ProjectSource) String

func (e ProjectSource) String() string

type ProjectType

type ProjectType string
const (
	Full  ProjectType = "full"
	Debug ProjectType = "debug"
)

func (ProjectType) String

func (e ProjectType) String() string

Jump to

Keyboard shortcuts

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