Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthRedisClient *redis.Client
AuthRedisClient is redis client storing invalid auth information
View Source
var DomainNameRedisClient *redis.Client
DomainNameRedisClient is redis client storing used domain name
View Source
var MysqlEngine *xorm.Engine
MysqlEngine is mysql engine
Functions ¶
func CreateProjectHandler ¶
func CreateProjectHandler(w http.ResponseWriter, r *http.Request) error
CreateProjectHandler create project TODO: Check if the same name exists
func ListProjectsHandler ¶
func ListProjectsHandler(w http.ResponseWriter, r *http.Request) error
ListProjectsHandler list projects
Types ¶
type ListProjectsResponse ¶
type ListProjectsResponse struct {
Name string `json:"name"`
}
ListProjectsResponse is response for list projects
Click to show internal directories.
Click to hide internal directories.