Documentation
¶
Index ¶
- func AddImagePointTimeRPC(ctx context.Context, req *launch_screen.AddImagePointTimeRequest) (image *model.Picture, err error)
- func ChangeImagePropertyRPC(ctx context.Context, req *launch_screen.ChangeImagePropertyRequest) (image *model.Picture, err error)
- func ChangeImageRPC(ctx context.Context, req *launch_screen.ChangeImageRequest, file [][]byte) (image *model.Picture, err error)
- func CreateImageRPC(ctx context.Context, req *launch_screen.CreateImageRequest, file [][]byte) (image *model.Picture, err error)
- func DeleteImageRPC(ctx context.Context, req *launch_screen.DeleteImageRequest) (err error)
- func DownloadBetaApkRPC(ctx context.Context, req *version.DownloadBetaApkRequest) (*string, error)
- func DownloadReleaseApkRPC(ctx context.Context, req *version.DownloadReleaseApkRequest) (*string, error)
- func GetBetaVersionRPC(ctx context.Context, req *version.GetBetaVersionRequest) (*version.GetBetaVersionResponse, error)
- func GetCSSRPC(ctx context.Context, req *common.GetCSSRequest) (*[]byte, error)
- func GetCalendarRPC(ctx context.Context, req *course.GetCalendarRequest) (string, error)
- func GetCloudRPC(ctx context.Context, req *version.GetCloudRequest) (*version.GetCloudResponse, error)
- func GetCourseListRPC(ctx context.Context, req *course.CourseListRequest) (courses []*model.Course, err error)
- func GetCourseTermsListRPC(ctx context.Context, req *course.TermListRequest) (*course.TermListResponse, error)
- func GetCreditRPC(ctx context.Context, req *academic.GetCreditRequest) (credit []*model.Credit, err error)
- func GetCultivatePlanRPC(ctx context.Context, req *academic.GetPlanRequest) (string, error)
- func GetDirFilesRPC(ctx context.Context, req *paper.ListDirFilesRequest) (files *model.UpYunFileDir, err error)
- func GetDownloadUrlRPC(ctx context.Context, req *paper.GetDownloadUrlRequest) (url string, err error)
- func GetDumpRPC(ctx context.Context, req *version.GetDumpRequest) (*version.GetDumpResponse, error)
- func GetEmptyRoomRPC(ctx context.Context, req *classroom.EmptyRoomRequest) (emptyRooms []*model.Classroom, err error)
- func GetExamRoomInfoRPC(ctx context.Context, req *classroom.ExamRoomInfoRequest) (roomInfo []*model.ExamRoomInfo, err error)
- func GetGPARPC(ctx context.Context, req *academic.GetGPARequest) (gpa *model.GPABean, err error)
- func GetHtmlRPC(ctx context.Context, req *common.GetHtmlRequest) (*[]byte, error)
- func GetImageRPC(ctx context.Context, req *launch_screen.GetImageRequest) (image *model.Picture, err error)
- func GetLoginDataRPC(ctx context.Context, req *user.GetLoginDataRequest) (string, []string, error)
- func GetNoticesRPC(ctx context.Context, req *common.NoticeRequest) ([]*model.NoticeInfo, int64, error)
- func GetReleaseVersionRPC(ctx context.Context, req *version.GetReleaseVersionRequest) (*version.GetReleaseVersionResponse, error)
- func GetScoresRPC(ctx context.Context, req *academic.GetScoresRequest) (scores []*model.Score, err error)
- func GetSettingRPC(ctx context.Context, req *version.GetSettingRequest) (*version.GetSettingResponse, error)
- func GetTermRPC(ctx context.Context, req *common.TermRequest) (*model.TermInfo, error)
- func GetTermsListRPC(ctx context.Context, req *common.TermListRequest) (*model.TermList, error)
- func GetTestRPC(ctx context.Context, req *version.GetTestRequest) (*version.GetTestResponse, error)
- func GetUnifiedExamRPC(ctx context.Context, req *academic.GetUnifiedExamRequest) (unifiedExam []*model.UnifiedExam, err error)
- func GetUserAgreementRPC(ctx context.Context, req *common.GetUserAgreementRequest) (*[]byte, error)
- func GetUserInfoRPC(ctx context.Context, req *user.GetUserInfoRequest) (*model.UserInfo, error)
- func Init()
- func InitAcademicRPC()
- func InitClassroomRPC()
- func InitCommonRPC()
- func InitCourseRPC()
- func InitLaunchScreenRPC()
- func InitLaunchScreenStreamRPC()
- func InitPaperRPC()
- func InitUserRPC()
- func InitVersionRPC()
- func LoginRPC(ctx context.Context, req *version.LoginRequest) (err error)
- func MobileGetImageRPC(ctx context.Context, req *launch_screen.MobileGetImageRequest) (image []*model.Picture, cnt *int64, err error)
- func SetCloudRPC(ctx context.Context, req *version.SetCloudRequest) (err error)
- func UploadParamsRPC(ctx context.Context, req *version.UploadParamsRequest) (*string, *string, error)
- func UploadVersionRPC(ctx context.Context, req *version.UploadRequest) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddImagePointTimeRPC ¶
func AddImagePointTimeRPC(ctx context.Context, req *launch_screen.AddImagePointTimeRequest) (image *model.Picture, err error)
func ChangeImagePropertyRPC ¶
func ChangeImagePropertyRPC(ctx context.Context, req *launch_screen.ChangeImagePropertyRequest) (image *model.Picture, err error)
func ChangeImageRPC ¶
func ChangeImageRPC(ctx context.Context, req *launch_screen.ChangeImageRequest, file [][]byte) (image *model.Picture, err error)
func CreateImageRPC ¶
func CreateImageRPC(ctx context.Context, req *launch_screen.CreateImageRequest, file [][]byte) (image *model.Picture, err error)
func DeleteImageRPC ¶
func DeleteImageRPC(ctx context.Context, req *launch_screen.DeleteImageRequest) (err error)
func DownloadBetaApkRPC ¶
func DownloadReleaseApkRPC ¶
func GetBetaVersionRPC ¶
func GetBetaVersionRPC(ctx context.Context, req *version.GetBetaVersionRequest) (*version.GetBetaVersionResponse, error)
func GetCalendarRPC ¶
func GetCloudRPC ¶
func GetCloudRPC(ctx context.Context, req *version.GetCloudRequest) (*version.GetCloudResponse, error)
func GetCourseListRPC ¶
func GetCourseTermsListRPC ¶
func GetCourseTermsListRPC(ctx context.Context, req *course.TermListRequest) (*course.TermListResponse, error)
func GetCreditRPC ¶
func GetCultivatePlanRPC ¶
func GetDirFilesRPC ¶
func GetDirFilesRPC(ctx context.Context, req *paper.ListDirFilesRequest) (files *model.UpYunFileDir, err error)
func GetDownloadUrlRPC ¶
func GetDumpRPC ¶
func GetDumpRPC(ctx context.Context, req *version.GetDumpRequest) (*version.GetDumpResponse, error)
func GetEmptyRoomRPC ¶
func GetExamRoomInfoRPC ¶
func GetExamRoomInfoRPC(ctx context.Context, req *classroom.ExamRoomInfoRequest) (roomInfo []*model.ExamRoomInfo, err error)
func GetHtmlRPC ¶
func GetImageRPC ¶
func GetImageRPC(ctx context.Context, req *launch_screen.GetImageRequest) (image *model.Picture, err error)
func GetLoginDataRPC ¶
func GetNoticesRPC ¶
func GetNoticesRPC(ctx context.Context, req *common.NoticeRequest) ([]*model.NoticeInfo, int64, error)
func GetReleaseVersionRPC ¶
func GetReleaseVersionRPC(ctx context.Context, req *version.GetReleaseVersionRequest) (*version.GetReleaseVersionResponse, error)
func GetScoresRPC ¶
func GetSettingRPC ¶
func GetSettingRPC(ctx context.Context, req *version.GetSettingRequest) (*version.GetSettingResponse, error)
func GetTermRPC ¶
func GetTermsListRPC ¶
func GetTestRPC ¶
func GetTestRPC(ctx context.Context, req *version.GetTestRequest) (*version.GetTestResponse, error)
func GetUnifiedExamRPC ¶
func GetUnifiedExamRPC(ctx context.Context, req *academic.GetUnifiedExamRequest) (unifiedExam []*model.UnifiedExam, err error)
func GetUserAgreementRPC ¶
func GetUserInfoRPC ¶
func InitAcademicRPC ¶
func InitAcademicRPC()
func InitClassroomRPC ¶
func InitClassroomRPC()
func InitCommonRPC ¶
func InitCommonRPC()
func InitCourseRPC ¶
func InitCourseRPC()
func InitLaunchScreenRPC ¶
func InitLaunchScreenRPC()
func InitLaunchScreenStreamRPC ¶
func InitLaunchScreenStreamRPC()
func InitPaperRPC ¶
func InitPaperRPC()
func InitUserRPC ¶
func InitUserRPC()
func InitVersionRPC ¶
func InitVersionRPC()
func MobileGetImageRPC ¶
func MobileGetImageRPC(ctx context.Context, req *launch_screen.MobileGetImageRequest) (image []*model.Picture, cnt *int64, err error)
func SetCloudRPC ¶
func SetCloudRPC(ctx context.Context, req *version.SetCloudRequest) (err error)
func UploadParamsRPC ¶
func UploadVersionRPC ¶
func UploadVersionRPC(ctx context.Context, req *version.UploadRequest) (err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.