mbmm

package
v0.12.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCheckIn

func CreateCheckIn(req *CheckIn) error

func Destroy

func Destroy()

func Init

func Init(baseUrl string, timeoutSec time.Duration)

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 GetCheckInRequest struct {
	UserId    string `form:"user_id"`
	MeetingId string `form:"meeting_id"`
}

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 GetMeetingById(meetingId string) (*Meeting, error)

func MyMeetings

func MyMeetings(userId string) ([]Meeting, error)

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL