Documentation ¶
Index ¶
- type CreateJobRequest
- type CreateJobResponse
- type CreateUserRequest
- type CreateUserResponse
- type DeleteJobResponse
- type GetJobRequest
- type GetUserResponse
- type Job
- type ListJobsResponse
- type ListReportResponse
- type ListReportsRequest
- type ListUsersResponse
- type LogOutRequest
- type LogOutResponse
- type LoginUserRequest
- type LoginUserResponse
- type RefreshTokenRequest
- type RefreshTokenResponse
- type Report
- type UpdateJobRequest
- type UpdateJobResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateJobRequest ¶
type CreateJobRequest struct { Name string Description string ScheduleTime time.Time JobType int32 JobData string }
func (*CreateJobRequest) ToProto ¶
func (cjr *CreateJobRequest) ToProto() *proto.CreateJobRequest
type CreateJobResponse ¶
type CreateJobResponse struct {
Id string
}
func CreateJobResponseFromProto ¶
func CreateJobResponseFromProto(p *proto.CreateJobResponse) *CreateJobResponse
type CreateUserRequest ¶
func (*CreateUserRequest) ToProto ¶
func (cur *CreateUserRequest) ToProto() *proto.CreateUserRequest
type CreateUserResponse ¶
type CreateUserResponse struct {
Message string
}
func CreateUserResponseFromProto ¶
func CreateUserResponseFromProto(p *proto.CreateUserResponse) *CreateUserResponse
type DeleteJobResponse ¶
type DeleteJobResponse struct {
Message string
}
func DeleteJobResponseFromProto ¶
func DeleteJobResponseFromProto(p *proto.DeleteJobResponse) DeleteJobResponse
type GetJobRequest ¶
type GetJobRequest struct {
Id string
}
func (*GetJobRequest) ToProto ¶
func (gjr *GetJobRequest) ToProto() *proto.GetJobRequest
type GetUserResponse ¶
func GetUserResponseFromProto ¶
func GetUserResponseFromProto(p *proto.GetUserResponse) *GetUserResponse
type Job ¶
type Job struct { Id string Name string Description string ScheduleTime time.Time CreatedTime time.Time UpdatedTime time.Time JobStatus int32 JobType int32 JobData string }
func JobFromProto ¶
type ListJobsResponse ¶
type ListJobsResponse struct { TotalCount int64 TotalPages int64 Page int64 Size int64 HasMore bool Jobs []Job }
func ListJobsResponseFromProto ¶
func ListJobsResponseFromProto(p *proto.ListJobsResponse) *ListJobsResponse
type ListReportResponse ¶
type ListReportResponse struct { TotalCount int64 TotalPages int64 Page int64 Size int64 HasMore bool Reports []Report }
func ListReportResponseFromProto ¶
func ListReportResponseFromProto(p *proto.ListReportResponse) *ListReportResponse
type ListReportsRequest ¶
type ListUsersResponse ¶
type ListUsersResponse struct { TotalCount int64 TotalPages int64 Page int64 Size int64 HasMore bool Users []GetUserResponse }
func ListUsersResponseFromProto ¶
func ListUsersResponseFromProto(p *proto.ListUsersResponse) *ListUsersResponse
type LogOutRequest ¶
func (*LogOutRequest) ToProto ¶
func (lor *LogOutRequest) ToProto() *proto.LogOutRequest
type LogOutResponse ¶
type LogOutResponse struct {
Message string
}
type LoginUserRequest ¶
func (*LoginUserRequest) ToProto ¶
func (cur *LoginUserRequest) ToProto() *proto.LoginUserRequest
type LoginUserResponse ¶
type LoginUserResponse struct {
Message string
}
type RefreshTokenRequest ¶
type RefreshTokenRequest struct {
RefreshToken string
}
func (*RefreshTokenRequest) ToProto ¶
func (rtr *RefreshTokenRequest) ToProto() *proto.RefreshTokenRequest
type RefreshTokenResponse ¶
type RefreshTokenResponse struct {
Message string
}
type Report ¶
func ReportFromProto ¶
type UpdateJobRequest ¶
type UpdateJobRequest struct { Id string Name string Description string ScheduleTime time.Time JobType int32 JobData string }
func (*UpdateJobRequest) ToProto ¶
func (ujr *UpdateJobRequest) ToProto() *proto.UpdateJobRequest
type UpdateJobResponse ¶
type UpdateJobResponse struct {
Message string
}
func UpdateJobResponseFromProto ¶
func UpdateJobResponseFromProto(p *proto.UpdateJobResponse) *UpdateJobResponse
Click to show internal directories.
Click to hide internal directories.