Documentation ¶
Index ¶
- func CreateCheckIn(req *CheckIn) error
- func Destroy()
- func Init(baseUrl string, timeoutSec time.Duration)
- type CheckIn
- type GetCheckInRequest
- type GetCheckInResponse
- type GetDocByIdResponse
- type GetMeetingAgendaRequest
- type GetMeetingAgendaResponse
- type GetMeetingByIdResponse
- type GetMeetingDocsRequest
- type GetMeetingDocsResponse
- type Meeting
- type MeetingAgenda
- type MeetingDocument
- type MyMeetingsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCheckIn ¶
Types ¶
type CheckIn ¶
type CheckIn struct { UserId string `json:"user_id"` MeetingId string `json:"meeting_id"` Name string `json:"name"` Phone string `json:"phone"` Company string `json:"company"` TripMode string `json:"trip_mode"` CreateTime string `json:"create_time"` }
func GetCheckIn ¶
func GetCheckIn(req *GetCheckInRequest) (*CheckIn, error)
type GetCheckInRequest ¶
type GetCheckInResponse ¶
type GetCheckInResponse struct { Data CheckIn `json:"data"` // contains filtered or unexported fields }
type GetDocByIdResponse ¶
type GetDocByIdResponse struct { Data MeetingDocument `json:"data"` // contains filtered or unexported fields }
type GetMeetingAgendaRequest ¶
type GetMeetingAgendaRequest struct {
MeetingId string `form:"meeting_id"`
}
type GetMeetingAgendaResponse ¶
type GetMeetingAgendaResponse struct { Data []MeetingAgenda `json:"data"` // contains filtered or unexported fields }
type GetMeetingByIdResponse ¶
type GetMeetingByIdResponse struct { Data Meeting `json:"data"` // contains filtered or unexported fields }
type GetMeetingDocsRequest ¶
type GetMeetingDocsRequest struct {
MeetingId string `form:"meeting_id"`
}
type GetMeetingDocsResponse ¶
type GetMeetingDocsResponse struct { Data []MeetingDocument `json:"data"` // contains filtered or unexported fields }
type Meeting ¶
type Meeting struct { ID string `json:"id"` Name string `json:"name"` Address string `json:"address"` Host string `json:"host"` BackgroundPic string `json:"background_pic"` SeatPic string `json:"seat_pic"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` }
func GetMeetingById ¶
func MyMeetings ¶
type MeetingAgenda ¶
type MeetingAgenda struct { ID string `json:"id"` MeetingId string `json:"meeting_id"` Sort int `json:"sort"` AgendaTime string `json:"agenda_time"` AgendaContent string `json:"agenda_content"` AgendaHost string `json:"agenda_host"` Group string `json:"group"` }
func GetMeetingAgenda ¶
func GetMeetingAgenda(req *GetMeetingAgendaRequest) ([]MeetingAgenda, error)
type MeetingDocument ¶
type MeetingDocument struct { ID string `gorm:"primary_key;type:varchar(32);comment:id" json:"id"` Title string `gorm:"type:varchar(256)" json:"title"` Content string `json:"content"` Url string `gorm:"type:varchar(256)" json:"url"` Type string `gorm:"type:varchar(32)" json:"type"` MeetingId string `gorm:"type:varchar(256)" json:"meeting_id"` }
func GetDocById ¶
func GetDocById(docId string) (*MeetingDocument, error)
func GetMeetingDocs ¶
func GetMeetingDocs(req *GetMeetingDocsRequest) ([]MeetingDocument, error)
type MyMeetingsResponse ¶
type MyMeetingsResponse struct { Data []Meeting `json:"data"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.