Documentation ¶
Index ¶
- func CreateOrg(name string) (int, error)
- func CreateSite(orgID int, skinID int, mobileSkinID int, name string) (int, error)
- func DeleteUser(id int) error
- func InitCms(cmsUrl string)
- func Login(username string, pwd string) (string, error)
- func RegisterUser(orgID int, username string, pwd string) (int, error)
- type CreateOrgResponse
- type CreateSiteResponse
- type LoginResponse
- type RegisterUserResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSite ¶
Types ¶
type CreateOrgResponse ¶
type CreateOrgResponse struct { Data struct { Org struct { ID int `json:"id"` } `json:"org"` } `json:"data"` }
type CreateSiteResponse ¶
type CreateSiteResponse struct { Data struct { Site struct { ID int `json:"ID"` } `json:"site"` } `json:"data"` }
Click to show internal directories.
Click to hide internal directories.