Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2023 Changes in this version + var CasdoorApplication = beego.AppConfig.String("casdoorApplication") + var CasdoorEndpoint = beego.AppConfig.String("casdoorEndpoint") + var CasdoorOrganization = beego.AppConfig.String("casdoorOrganization") + var ClientId = beego.AppConfig.String("clientId") + var ClientSecret = beego.AppConfig.String("clientSecret") + var JwtPublicKey string + func IssueOpen(issueEvent github.IssuesEvent) bool + func PullRequestOpen(pullRequestEvent github.PullRequestEvent) bool + type ApiController struct + func (c *ApiController) AddIssue() + func (c *ApiController) AddMachine() + func (c *ApiController) AddProgram() + func (c *ApiController) AddReport() + func (c *ApiController) AddRound() + func (c *ApiController) AddStudent() + func (c *ApiController) AutoUpdateReport() + func (c *ApiController) DeleteIssue() + func (c *ApiController) DeleteMachine() + func (c *ApiController) DeleteProgram() + func (c *ApiController) DeleteReport() + func (c *ApiController) DeleteRound() + func (c *ApiController) DeleteStudent() + func (c *ApiController) GetAccount() + func (c *ApiController) GetFilteredReports() + func (c *ApiController) GetFilteredRounds() + func (c *ApiController) GetFilteredStudents() + func (c *ApiController) GetGithubUserByUsername() + func (c *ApiController) GetIssue() + func (c *ApiController) GetIssueByName() + func (c *ApiController) GetMachine() + func (c *ApiController) GetMachines() + func (c *ApiController) GetProgram() + func (c *ApiController) GetPrograms() + func (c *ApiController) GetProjectColumns() + func (c *ApiController) GetReport() + func (c *ApiController) GetReports() + func (c *ApiController) GetRepositoryByOrg() + func (c *ApiController) GetRound() + func (c *ApiController) GetRounds() + func (c *ApiController) GetSessionClaims() *casdoorsdk.Claims + func (c *ApiController) GetSessionUser() *casdoorsdk.User + func (c *ApiController) GetStudent() + func (c *ApiController) GetStudents() + func (c *ApiController) GetUsers() + func (c *ApiController) IsMainlandIp() + func (c *ApiController) RequireAdmin() bool + func (c *ApiController) RequireSignedIn() bool + func (c *ApiController) ResponseError(error string, data ...interface{}) + func (c *ApiController) ResponseOk(data ...interface{}) + func (c *ApiController) SetSessionClaims(claims *casdoorsdk.Claims) + func (c *ApiController) Signin() + func (c *ApiController) Signout() + func (c *ApiController) UpdateIssue() + func (c *ApiController) UpdateMachine() + func (c *ApiController) UpdateProgram() + func (c *ApiController) UpdateReport() + func (c *ApiController) UpdateRound() + func (c *ApiController) UpdateStudent() + func (c *ApiController) WebhookOpen() + type Response struct + Data interface{} + Data2 interface{} + Msg string + Status string