Documentation ¶
Index ¶
- Variables
- func GetUserName(user *auth.User) string
- func InitAuthConfig()
- type ApiController
- func (c *ApiController) AddCode()
- func (c *ApiController) AddConference()
- func (c *ApiController) AddRoom()
- func (c *ApiController) AddSubmission()
- func (c *ApiController) DeleteCode()
- func (c *ApiController) DeleteConference()
- func (c *ApiController) DeleteRoom()
- func (c *ApiController) DeleteSubmission()
- func (c *ApiController) GetAccount()
- func (c *ApiController) GetCode()
- func (c *ApiController) GetCodes()
- func (c *ApiController) GetConference()
- func (c *ApiController) GetConferences()
- func (c *ApiController) GetGlobalCodes()
- func (c *ApiController) GetGlobalConferences()
- func (c *ApiController) GetGlobalPayments()
- func (c *ApiController) GetGlobalRooms()
- func (c *ApiController) GetGlobalSubmissions()
- func (c *ApiController) GetPayments()
- func (c *ApiController) GetProducts()
- func (c *ApiController) GetRoom()
- func (c *ApiController) GetRooms()
- func (c *ApiController) GetSessionClaims() *auth.Claims
- func (c *ApiController) GetSessionUser() *auth.User
- func (c *ApiController) GetSessionUsername() string
- func (c *ApiController) GetSubmission()
- func (c *ApiController) GetSubmissions()
- func (c *ApiController) GetUsers()
- func (c *ApiController) IncrementRoomViewer()
- func (c *ApiController) RegisterRoom()
- 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 *auth.Claims)
- func (c *ApiController) SetSessionUser(user *auth.User)
- func (c *ApiController) Signin()
- func (c *ApiController) Signout()
- func (c *ApiController) UpdateCode()
- func (c *ApiController) UpdateConference()
- func (c *ApiController) UpdateRoom()
- func (c *ApiController) UpdateSubmission()
- func (c *ApiController) UploadSubmissionFile()
- func (c *ApiController) WebhookRoom()
- type MeetingEvent
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var JwtPublicKey string
Functions ¶
func GetUserName ¶
func InitAuthConfig ¶
func InitAuthConfig()
Types ¶
type ApiController ¶
type ApiController struct {
beego.Controller
}
func (*ApiController) AddCode ¶
func (c *ApiController) AddCode()
func (*ApiController) AddConference ¶
func (c *ApiController) AddConference()
func (*ApiController) AddRoom ¶
func (c *ApiController) AddRoom()
func (*ApiController) AddSubmission ¶
func (c *ApiController) AddSubmission()
func (*ApiController) DeleteCode ¶
func (c *ApiController) DeleteCode()
func (*ApiController) DeleteConference ¶
func (c *ApiController) DeleteConference()
func (*ApiController) DeleteRoom ¶
func (c *ApiController) DeleteRoom()
func (*ApiController) DeleteSubmission ¶
func (c *ApiController) DeleteSubmission()
func (*ApiController) GetAccount ¶
func (c *ApiController) GetAccount()
func (*ApiController) GetCode ¶
func (c *ApiController) GetCode()
func (*ApiController) GetCodes ¶
func (c *ApiController) GetCodes()
func (*ApiController) GetConference ¶
func (c *ApiController) GetConference()
func (*ApiController) GetConferences ¶
func (c *ApiController) GetConferences()
func (*ApiController) GetGlobalCodes ¶
func (c *ApiController) GetGlobalCodes()
func (*ApiController) GetGlobalConferences ¶
func (c *ApiController) GetGlobalConferences()
func (*ApiController) GetGlobalPayments ¶
func (c *ApiController) GetGlobalPayments()
func (*ApiController) GetGlobalRooms ¶
func (c *ApiController) GetGlobalRooms()
func (*ApiController) GetGlobalSubmissions ¶
func (c *ApiController) GetGlobalSubmissions()
func (*ApiController) GetPayments ¶
func (c *ApiController) GetPayments()
func (*ApiController) GetProducts ¶
func (c *ApiController) GetProducts()
func (*ApiController) GetRoom ¶
func (c *ApiController) GetRoom()
func (*ApiController) GetRooms ¶
func (c *ApiController) GetRooms()
func (*ApiController) GetSessionClaims ¶
func (c *ApiController) GetSessionClaims() *auth.Claims
func (*ApiController) GetSessionUser ¶
func (c *ApiController) GetSessionUser() *auth.User
func (*ApiController) GetSessionUsername ¶
func (c *ApiController) GetSessionUsername() string
func (*ApiController) GetSubmission ¶
func (c *ApiController) GetSubmission()
func (*ApiController) GetSubmissions ¶
func (c *ApiController) GetSubmissions()
func (*ApiController) GetUsers ¶
func (c *ApiController) GetUsers()
func (*ApiController) IncrementRoomViewer ¶
func (c *ApiController) IncrementRoomViewer()
func (*ApiController) RegisterRoom ¶
func (c *ApiController) RegisterRoom()
func (*ApiController) RequireAdmin ¶
func (c *ApiController) RequireAdmin() bool
func (*ApiController) RequireSignedIn ¶
func (c *ApiController) RequireSignedIn() bool
func (*ApiController) ResponseError ¶
func (c *ApiController) ResponseError(error string, data ...interface{})
func (*ApiController) ResponseOk ¶
func (c *ApiController) ResponseOk(data ...interface{})
func (*ApiController) SetSessionClaims ¶
func (c *ApiController) SetSessionClaims(claims *auth.Claims)
func (*ApiController) SetSessionUser ¶
func (c *ApiController) SetSessionUser(user *auth.User)
func (*ApiController) Signin ¶
func (c *ApiController) Signin()
func (*ApiController) Signout ¶
func (c *ApiController) Signout()
func (*ApiController) UpdateCode ¶
func (c *ApiController) UpdateCode()
func (*ApiController) UpdateConference ¶
func (c *ApiController) UpdateConference()
func (*ApiController) UpdateRoom ¶
func (c *ApiController) UpdateRoom()
func (*ApiController) UpdateSubmission ¶
func (c *ApiController) UpdateSubmission()
func (*ApiController) UploadSubmissionFile ¶
func (c *ApiController) UploadSubmissionFile()
func (*ApiController) WebhookRoom ¶
func (c *ApiController) WebhookRoom()
type MeetingEvent ¶
type MeetingEvent struct { Event string `json:"event"` Payload struct { AccountId string `json:"account_id"` Object struct { Duration int `json:"duration"` StartTime time.Time `json:"start_time"` Timezone string `json:"timezone"` EndTime time.Time `json:"end_time"` Topic string `json:"topic"` Id string `json:"id"` Type int `json:"type"` Uuid string `json:"uuid"` HostId string `json:"host_id"` } `json:"object"` } `json:"payload"` EventTs int64 `json:"event_ts"` }
Click to show internal directories.
Click to hide internal directories.