Documentation ¶
Index ¶
- func AuthorizationByClientID(clientID string) (data *domain.Authorization, err error)
- func AuthorizationByClientIDAndClientSecret(clientID string, clientSecret string) (data *domain.Authorization, err error)
- func AuthorizationExists(clientID string) (exist bool, err error)
- func AuthorizationFilterScopeByClientID(clientID string, requestScope []string) (scope []string, err error)
- func AuthorizationScopeByClientID(clientID string) (scope []string, err error)
- func Authorizations() (data []*domain.Authorization, err error)
- func CampusAdd(campus domain.Campus) error
- func CampusDelete(id string) error
- func CampusQuery() (interface{}, error)
- func CampusUpdate(r domain.Campus) error
- func CertificateAdd(s domain.Certificate) error
- func CertificateDelete(id int) error
- func CertificateQuery() (interface{}, error)
- func CertificateUpdate(s domain.Certificate) error
- func ClassAdd(d domain.Class) error
- func ClassDelete(id string) error
- func ClassQuery() (interface{}, error)
- func ClassUpdate(d domain.Class) error
- func DepartmentAdd(d domain.Department) error
- func DepartmentDelete(id string) error
- func DepartmentQuery() (interface{}, error)
- func DepartmentUpdate(d domain.Department) error
- func FamilyAdd(s domain.FamilyInfo) error
- func FamilyDelete(id int) error
- func FamilyQuery() (interface{}, error)
- func FamilyUpdate(s domain.FamilyInfo) error
- func HandleByClient(handle func(client *domain.Client) (interface{}, error)) (interface{}, error)
- func MajorAdd(d domain.Major) error
- func MajorDelete(id string) error
- func MajorQuery() (interface{}, error)
- func MajorUpdate(d domain.Major) error
- func PracticalAdd(s domain.PracticalExperience) error
- func PracticalDelete(id int) error
- func PracticalQuery() (interface{}, error)
- func PracticalUpdate(s domain.PracticalExperience) error
- func RoleAdd(role domain.Role) error
- func RoleDelete(id string) error
- func RoleQuery() (interface{}, error)
- func RoleUpdate(r domain.Role) error
- func StudentAdd(s domain.Student) error
- func StudentBatchAdd(us []domain.User) error
- func StudentDelete(id int) error
- func StudentQuery() (interface{}, error)
- func StudentUpdate(s domain.Student) error
- func User(account string, passwd string) (data *domain.User, err error)
- func UserAdd(s domain.User) error
- func UserByID(id int) (data *domain.User, err error)
- func UserDelete(id int) error
- func UserQuery() (interface{}, error)
- func UserUpdate(s domain.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizationByClientID ¶
func AuthorizationByClientID(clientID string) (data *domain.Authorization, err error)
func AuthorizationByClientIDAndClientSecret ¶
func AuthorizationByClientIDAndClientSecret(clientID string, clientSecret string) (data *domain.Authorization, err error)
func AuthorizationExists ¶
func Authorizations ¶
func Authorizations() (data []*domain.Authorization, err error)
func CampusDelete ¶
func CampusQuery ¶
func CampusQuery() (interface{}, error)
func CampusUpdate ¶
func CertificateAdd ¶
func CertificateAdd(s domain.Certificate) error
func CertificateDelete ¶
func CertificateQuery ¶
func CertificateQuery() (interface{}, error)
func CertificateUpdate ¶
func CertificateUpdate(s domain.Certificate) error
func ClassDelete ¶
func ClassQuery ¶
func ClassQuery() (interface{}, error)
func ClassUpdate ¶
func DepartmentAdd ¶
func DepartmentAdd(d domain.Department) error
func DepartmentDelete ¶
func DepartmentQuery ¶
func DepartmentQuery() (interface{}, error)
func DepartmentUpdate ¶
func DepartmentUpdate(d domain.Department) error
func FamilyAdd ¶
func FamilyAdd(s domain.FamilyInfo) error
func FamilyDelete ¶
func FamilyQuery ¶
func FamilyQuery() (interface{}, error)
func FamilyUpdate ¶
func FamilyUpdate(s domain.FamilyInfo) error
func HandleByClient ¶
func MajorDelete ¶
func MajorQuery ¶
func MajorQuery() (interface{}, error)
func MajorUpdate ¶
func PracticalAdd ¶
func PracticalAdd(s domain.PracticalExperience) error
func PracticalDelete ¶
func PracticalQuery ¶
func PracticalQuery() (interface{}, error)
func PracticalUpdate ¶
func PracticalUpdate(s domain.PracticalExperience) error
func RoleDelete ¶
func RoleUpdate ¶
func StudentAdd ¶
func StudentBatchAdd ¶
func StudentDelete ¶
func StudentQuery ¶
func StudentQuery() (interface{}, error)
func StudentUpdate ¶
func UserDelete ¶
func UserUpdate ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.