rpc

package
v0.0.0-...-eb3d57b Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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 DownloadBetaApkRPC(ctx context.Context, req *version.DownloadBetaApkRequest) (*string, error)

func DownloadReleaseApkRPC

func DownloadReleaseApkRPC(ctx context.Context, req *version.DownloadReleaseApkRequest) (*string, error)

func GetCSSRPC

func GetCSSRPC(ctx context.Context, req *common.GetCSSRequest) (*[]byte, error)

func GetCalendarRPC

func GetCalendarRPC(ctx context.Context, req *course.GetCalendarRequest) (string, error)

func GetCourseListRPC

func GetCourseListRPC(ctx context.Context, req *course.CourseListRequest) (courses []*model.Course, err error)

func GetCourseTermsListRPC

func GetCourseTermsListRPC(ctx context.Context, req *course.TermListRequest) (*course.TermListResponse, error)

func GetCreditRPC

func GetCreditRPC(ctx context.Context, req *academic.GetCreditRequest) (credit []*model.Credit, err error)

func GetCultivatePlanRPC

func GetCultivatePlanRPC(ctx context.Context, req *academic.GetPlanRequest) (string, error)

func GetDirFilesRPC

func GetDirFilesRPC(ctx context.Context, req *paper.ListDirFilesRequest) (files *model.UpYunFileDir, err error)

func GetDownloadUrlRPC

func GetDownloadUrlRPC(ctx context.Context, req *paper.GetDownloadUrlRequest) (url string, err error)

func GetEmptyRoomRPC

func GetEmptyRoomRPC(ctx context.Context, req *classroom.EmptyRoomRequest) (emptyRooms []*model.Classroom, err error)

func GetExamRoomInfoRPC

func GetExamRoomInfoRPC(ctx context.Context, req *classroom.ExamRoomInfoRequest) (roomInfo []*model.ExamRoomInfo, err error)

func GetGPARPC

func GetGPARPC(ctx context.Context, req *academic.GetGPARequest) (gpa *model.GPABean, err error)

func GetHtmlRPC

func GetHtmlRPC(ctx context.Context, req *common.GetHtmlRequest) (*[]byte, error)

func GetImageRPC

func GetImageRPC(ctx context.Context, req *launch_screen.GetImageRequest) (image *model.Picture, err error)

func GetLoginDataRPC

func GetLoginDataRPC(ctx context.Context, req *user.GetLoginDataRequest) (string, []string, error)

func GetNoticesRPC

func GetNoticesRPC(ctx context.Context, req *common.NoticeRequest) ([]*model.NoticeInfo, int64, error)

func GetScoresRPC

func GetScoresRPC(ctx context.Context, req *academic.GetScoresRequest) (scores []*model.Score, err error)

func GetTermRPC

func GetTermRPC(ctx context.Context, req *common.TermRequest) (*model.TermInfo, error)

func GetTermsListRPC

func GetTermsListRPC(ctx context.Context, req *common.TermListRequest) (*model.TermList, error)

func GetUnifiedExamRPC

func GetUnifiedExamRPC(ctx context.Context, req *academic.GetUnifiedExamRequest) (unifiedExam []*model.UnifiedExam, err error)

func GetUserAgreementRPC

func GetUserAgreementRPC(ctx context.Context, req *common.GetUserAgreementRequest) (*[]byte, error)

func GetUserInfoRPC

func GetUserInfoRPC(ctx context.Context, req *user.GetUserInfoRequest) (*model.UserInfo, error)

func Init

func Init()

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 LoginRPC

func LoginRPC(ctx context.Context, req *version.LoginRequest) (err error)

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 UploadParamsRPC(ctx context.Context, req *version.UploadParamsRequest) (*string, *string, error)

func UploadVersionRPC

func UploadVersionRPC(ctx context.Context, req *version.UploadRequest) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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