Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EmailRegex is the regex for the email validation.
EmailRegex = `^[a-z0-9._%+\-]+@[a-z0-9.\-]+\.[a-z]{2,4}$`
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProjectRequest ¶
type CreateProjectRequest struct { Client string `json:"project-client"` Command string `json:"command"` Database int `json:"project-database"` Name string `json:"project-name"` OwnerEmail string `json:"project-owner-email"` Runtime int `json:"project-runtime"` Environment []ProjectEnvironment `json:"project-environment"` // The following fields are not part of the request body. ClientID uint ProjectID uint // contains filtered or unexported fields }
CreateProjectRequest represents the request body of the /project/create endpoint.
type ProjectEnvironment ¶
ProjectEnvironment represents the environment of the project.
type QueryRequest ¶
type QueryRequest struct {
Query string `json:"query"`
}
QueryRequest represents the request for the query.
Click to show internal directories.
Click to hide internal directories.