Documentation ¶
Index ¶
- Variables
- func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
- func RegisterBackendServer(s grpc.ServiceRegistrar, srv BackendServer)
- type AdminClient
- type AdminServer
- type BackendClient
- type BackendServer
- type Challenge
- type ChallengeTypeResponse
- func (*ChallengeTypeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChallengeTypeResponse) GetTypeInfo() *GRPCTypeInfo
- func (*ChallengeTypeResponse) ProtoMessage()
- func (x *ChallengeTypeResponse) ProtoReflect() protoreflect.Message
- func (x *ChallengeTypeResponse) Reset()
- func (x *ChallengeTypeResponse) String() string
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetAreas() []*HighlightArea
- func (x *Comment) GetContent() string
- func (x *Comment) GetId() uint32
- func (x *Comment) GetQuote() string
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)deprecated
- func (x *Connection) GetDestination() uint32
- func (x *Connection) GetId() uint32
- func (x *Connection) GetSource() uint32
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type CurrentUserRequest
- type CurrentUserResponse
- func (*CurrentUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentUserResponse) GetPages() []*Page
- func (x *CurrentUserResponse) GetUserRole() string
- func (x *CurrentUserResponse) GetUsername() string
- func (*CurrentUserResponse) ProtoMessage()
- func (x *CurrentUserResponse) ProtoReflect() protoreflect.Message
- func (x *CurrentUserResponse) Reset()
- func (x *CurrentUserResponse) String() string
- type DeleteChallengeRequest
- func (*DeleteChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChallengeRequest) GetChallengeName() string
- func (*DeleteChallengeRequest) ProtoMessage()
- func (x *DeleteChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChallengeRequest) Reset()
- func (x *DeleteChallengeRequest) String() string
- type Empty
- type Entrypoint
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetChallengeID() uint32
- func (x *Evidence) GetId() uint32
- func (x *Evidence) GetIsFlag() bool
- func (x *Evidence) GetName() string
- func (x *Evidence) GetX() int32
- func (x *Evidence) GetY() int32
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- type ExportChallengeResponse
- func (*ExportChallengeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportChallengeResponse) GetYaml() string
- func (*ExportChallengeResponse) ProtoMessage()
- func (x *ExportChallengeResponse) ProtoReflect() protoreflect.Message
- func (x *ExportChallengeResponse) Reset()
- func (x *ExportChallengeResponse) String() string
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetIsDir() bool
- func (x *FileInfo) GetName() string
- func (x *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type ForgotPasswordRequest
- func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordRequest) GetEmail() string
- func (*ForgotPasswordRequest) ProtoMessage()
- func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordRequest) Reset()
- func (x *ForgotPasswordRequest) String() string
- type GRPCTypeInfo
- func (*GRPCTypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GRPCTypeInfo) GetDescLookup() map[string]*descriptorpb.DescriptorProto
- func (x *GRPCTypeInfo) GetEnumLookup() map[string]*descriptorpb.EnumDescriptorProto
- func (x *GRPCTypeInfo) GetMsg() *descriptorpb.DescriptorProto
- func (x *GRPCTypeInfo) GetPackageName() string
- func (*GRPCTypeInfo) ProtoMessage()
- func (x *GRPCTypeInfo) ProtoReflect() protoreflect.Message
- func (x *GRPCTypeInfo) Reset()
- func (x *GRPCTypeInfo) String() string
- type GetAllChallengesRequest
- type GetAllChallengesResponse
- func (*GetAllChallengesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAllChallengesResponse) GetChallenges() []*Challenge
- func (*GetAllChallengesResponse) ProtoMessage()
- func (x *GetAllChallengesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAllChallengesResponse) Reset()
- func (x *GetAllChallengesResponse) String() string
- type GetCommentsRequest
- func (*GetCommentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsRequest) GetUsername() string
- func (*GetCommentsRequest) ProtoMessage()
- func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCommentsRequest) Reset()
- func (x *GetCommentsRequest) String() string
- type GetCommentsResponse
- func (*GetCommentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCommentsResponse) GetComments() []*Comment
- func (*GetCommentsResponse) ProtoMessage()
- func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCommentsResponse) Reset()
- func (x *GetCommentsResponse) String() string
- type GetComputerRequest
- type GetComputerResponse
- func (*GetComputerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetComputerResponse) GetLoading() bool
- func (x *GetComputerResponse) GetUrl() string
- func (*GetComputerResponse) ProtoMessage()
- func (x *GetComputerResponse) ProtoReflect() protoreflect.Message
- func (x *GetComputerResponse) Reset()
- func (x *GetComputerResponse) String() string
- type GetDiscoveredEvidenceRequest
- func (*GetDiscoveredEvidenceRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetDiscoveredEvidenceRequest) ProtoMessage()
- func (x *GetDiscoveredEvidenceRequest) ProtoReflect() protoreflect.Message
- func (x *GetDiscoveredEvidenceRequest) Reset()
- func (x *GetDiscoveredEvidenceRequest) String() string
- type GetDiscoveredEvidenceResponse
- func (*GetDiscoveredEvidenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDiscoveredEvidenceResponse) GetConnections() []*Connection
- func (x *GetDiscoveredEvidenceResponse) GetEvidence() []*Evidence
- func (x *GetDiscoveredEvidenceResponse) GetReport() string
- func (*GetDiscoveredEvidenceResponse) ProtoMessage()
- func (x *GetDiscoveredEvidenceResponse) ProtoReflect() protoreflect.Message
- func (x *GetDiscoveredEvidenceResponse) Reset()
- func (x *GetDiscoveredEvidenceResponse) String() string
- type GetHomePageRequest
- type GetHomePageResponse
- func (*GetHomePageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomePageResponse) GetContent() string
- func (x *GetHomePageResponse) GetEntrypoints() []*Entrypoint
- func (*GetHomePageResponse) ProtoMessage()
- func (x *GetHomePageResponse) ProtoReflect() protoreflect.Message
- func (x *GetHomePageResponse) Reset()
- func (x *GetHomePageResponse) String() string
- type GetTeamsProgressRequest
- type GetTeamsProgressResponse
- func (*GetTeamsProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTeamsProgressResponse) GetTeams() []*TeamProgress
- func (*GetTeamsProgressResponse) ProtoMessage()
- func (x *GetTeamsProgressResponse) ProtoReflect() protoreflect.Message
- func (x *GetTeamsProgressResponse) Reset()
- func (x *GetTeamsProgressResponse) String() string
- type GetUserGraphRequest
- func (*GetUserGraphRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserGraphRequest) GetUsername() string
- func (*GetUserGraphRequest) ProtoMessage()
- func (x *GetUserGraphRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserGraphRequest) Reset()
- func (x *GetUserGraphRequest) String() string
- type GetUserGraphResponse
- func (*GetUserGraphResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserGraphResponse) GetConnections() []*Connection
- func (x *GetUserGraphResponse) GetEvidence() []*Evidence
- func (*GetUserGraphResponse) ProtoMessage()
- func (x *GetUserGraphResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserGraphResponse) Reset()
- func (x *GetUserGraphResponse) String() string
- type GetUserWriteupResponse
- func (*GetUserWriteupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserWriteupResponse) GetContent() string
- func (*GetUserWriteupResponse) ProtoMessage()
- func (x *GetUserWriteupResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserWriteupResponse) Reset()
- func (x *GetUserWriteupResponse) String() string
- type GetWriteupRequest
- type GetWriteupResponse
- func (*GetWriteupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWriteupResponse) GetContent() string
- func (x *GetWriteupResponse) GetType() string
- func (*GetWriteupResponse) ProtoMessage()
- func (x *GetWriteupResponse) ProtoReflect() protoreflect.Message
- func (x *GetWriteupResponse) Reset()
- func (x *GetWriteupResponse) String() string
- type HighlightArea
- func (*HighlightArea) Descriptor() ([]byte, []int)deprecated
- func (x *HighlightArea) GetHeight() float32
- func (x *HighlightArea) GetLeft() float32
- func (x *HighlightArea) GetPageIndex() uint32
- func (x *HighlightArea) GetTop() float32
- func (x *HighlightArea) GetWidth() float32
- func (*HighlightArea) ProtoMessage()
- func (x *HighlightArea) ProtoReflect() protoreflect.Message
- func (x *HighlightArea) Reset()
- func (x *HighlightArea) String() string
- type ImportChallengeRequest
- func (*ImportChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportChallengeRequest) GetYaml() string
- func (*ImportChallengeRequest) ProtoMessage()
- func (x *ImportChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *ImportChallengeRequest) Reset()
- func (x *ImportChallengeRequest) String() string
- type ImportChallengeResponse
- func (*ImportChallengeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportChallengeResponse) GetChal() *chalgen.Node
- func (*ImportChallengeResponse) ProtoMessage()
- func (x *ImportChallengeResponse) ProtoReflect() protoreflect.Message
- func (x *ImportChallengeResponse) Reset()
- func (x *ImportChallengeResponse) String() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetUserRole() string
- func (x *LoginResponse) GetUsername() string
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type Page
- type ReaddirRequest
- type ReaddirResponse
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetEmail() string
- func (x *RegisterRequest) GetPassword() string
- func (x *RegisterRequest) GetUsername() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type RemoveRequest
- type RemoveResponse
- type SetComputerRequest
- func (*SetComputerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetComputerRequest) GetComputerId() string
- func (x *SetComputerRequest) GetId() string
- func (x *SetComputerRequest) GetPassword() string
- func (*SetComputerRequest) ProtoMessage()
- func (x *SetComputerRequest) ProtoReflect() protoreflect.Message
- func (x *SetComputerRequest) Reset()
- func (x *SetComputerRequest) String() string
- type SetHomePageRequest
- func (*SetHomePageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetHomePageRequest) GetContent() string
- func (*SetHomePageRequest) ProtoMessage()
- func (x *SetHomePageRequest) ProtoReflect() protoreflect.Message
- func (x *SetHomePageRequest) Reset()
- func (x *SetHomePageRequest) String() string
- type SignedURLRequest
- type SignedURLResponse
- type SubmitCommentRequest
- func (*SubmitCommentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitCommentRequest) GetAreas() []*HighlightArea
- func (x *SubmitCommentRequest) GetContent() string
- func (x *SubmitCommentRequest) GetId() uint32
- func (x *SubmitCommentRequest) GetQuote() string
- func (x *SubmitCommentRequest) GetUsername() string
- func (*SubmitCommentRequest) ProtoMessage()
- func (x *SubmitCommentRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitCommentRequest) Reset()
- func (x *SubmitCommentRequest) String() string
- type SubmitEvidenceConnectionRequest
- func (*SubmitEvidenceConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitEvidenceConnectionRequest) GetDestination() uint32
- func (x *SubmitEvidenceConnectionRequest) GetRemove() bool
- func (x *SubmitEvidenceConnectionRequest) GetSource() uint32
- func (*SubmitEvidenceConnectionRequest) ProtoMessage()
- func (x *SubmitEvidenceConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceConnectionRequest) Reset()
- func (x *SubmitEvidenceConnectionRequest) String() string
- type SubmitEvidenceConnectionResponse
- func (*SubmitEvidenceConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitEvidenceConnectionResponse) GetCreated() bool
- func (*SubmitEvidenceConnectionResponse) ProtoMessage()
- func (x *SubmitEvidenceConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceConnectionResponse) Reset()
- func (x *SubmitEvidenceConnectionResponse) String() string
- type SubmitEvidenceReportRequest
- func (*SubmitEvidenceReportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitEvidenceReportRequest) GetUrl() string
- func (*SubmitEvidenceReportRequest) ProtoMessage()
- func (x *SubmitEvidenceReportRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceReportRequest) Reset()
- func (x *SubmitEvidenceReportRequest) String() string
- type SubmitEvidenceReportResponse
- func (*SubmitEvidenceReportResponse) Descriptor() ([]byte, []int)deprecated
- func (*SubmitEvidenceReportResponse) ProtoMessage()
- func (x *SubmitEvidenceReportResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceReportResponse) Reset()
- func (x *SubmitEvidenceReportResponse) String() string
- type SubmitEvidenceRequest
- func (*SubmitEvidenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitEvidenceRequest) GetEvidence() string
- func (x *SubmitEvidenceRequest) GetIsFlag() bool
- func (x *SubmitEvidenceRequest) GetRemove() bool
- func (x *SubmitEvidenceRequest) GetX() int32
- func (x *SubmitEvidenceRequest) GetY() int32
- func (*SubmitEvidenceRequest) ProtoMessage()
- func (x *SubmitEvidenceRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceRequest) Reset()
- func (x *SubmitEvidenceRequest) String() string
- type SubmitEvidenceResponse
- func (*SubmitEvidenceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitEvidenceResponse) GetName() string
- func (*SubmitEvidenceResponse) ProtoMessage()
- func (x *SubmitEvidenceResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitEvidenceResponse) Reset()
- func (x *SubmitEvidenceResponse) String() string
- type SubmitFlagRequest
- type SubmitFlagResponse
- func (*SubmitFlagResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitFlagResponse) GetCorrect() bool
- func (*SubmitFlagResponse) ProtoMessage()
- func (x *SubmitFlagResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitFlagResponse) Reset()
- func (x *SubmitFlagResponse) String() string
- type SubmitGradeRequest
- func (*SubmitGradeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitGradeRequest) GetScore() uint32
- func (x *SubmitGradeRequest) GetUsername() string
- func (*SubmitGradeRequest) ProtoMessage()
- func (x *SubmitGradeRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitGradeRequest) Reset()
- func (x *SubmitGradeRequest) String() string
- type SubmitWriteupRequest
- func (*SubmitWriteupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitWriteupRequest) GetContent() string
- func (x *SubmitWriteupRequest) GetType() string
- func (*SubmitWriteupRequest) ProtoMessage()
- func (x *SubmitWriteupRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitWriteupRequest) Reset()
- func (x *SubmitWriteupRequest) String() string
- type TeamProgress
- func (*TeamProgress) Descriptor() ([]byte, []int)deprecated
- func (x *TeamProgress) GetGrade() uint32
- func (x *TeamProgress) GetHasWriteup() bool
- func (x *TeamProgress) GetScore() uint32
- func (x *TeamProgress) GetTeamName() string
- func (*TeamProgress) ProtoMessage()
- func (x *TeamProgress) ProtoReflect() protoreflect.Message
- func (x *TeamProgress) Reset()
- func (x *TeamProgress) String() string
- type UnimplementedAdminServer
- func (UnimplementedAdminServer) DeleteChallenge(context.Context, *DeleteChallengeRequest) (*Empty, error)
- func (UnimplementedAdminServer) ExportChallenge(context.Context, *chalgen.Node) (*ExportChallengeResponse, error)
- func (UnimplementedAdminServer) GetAllChallenges(context.Context, *GetAllChallengesRequest) (*GetAllChallengesResponse, error)
- func (UnimplementedAdminServer) GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
- func (UnimplementedAdminServer) GetTeamsProgress(context.Context, *GetTeamsProgressRequest) (*GetTeamsProgressResponse, error)
- func (UnimplementedAdminServer) GetUserGraph(context.Context, *GetUserGraphRequest) (*GetUserGraphResponse, error)
- func (UnimplementedAdminServer) GetWriteup(context.Context, *GetWriteupRequest) (*GetWriteupResponse, error)
- func (UnimplementedAdminServer) ImportChallenge(context.Context, *ImportChallengeRequest) (*ImportChallengeResponse, error)
- func (UnimplementedAdminServer) Readdir(context.Context, *ReaddirRequest) (*ReaddirResponse, error)
- func (UnimplementedAdminServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (UnimplementedAdminServer) SetComputer(context.Context, *SetComputerRequest) (*Empty, error)
- func (UnimplementedAdminServer) SetHomePage(context.Context, *SetHomePageRequest) (*Empty, error)
- func (UnimplementedAdminServer) SubmitComment(context.Context, *SubmitCommentRequest) (*Empty, error)
- func (UnimplementedAdminServer) SubmitGrade(context.Context, *SubmitGradeRequest) (*Empty, error)
- func (UnimplementedAdminServer) UpsertChallenge(context.Context, *UpsertChallengeRequest) (*Empty, error)
- type UnimplementedBackendServer
- func (UnimplementedBackendServer) ChallengeType(context.Context, *Empty) (*ChallengeTypeResponse, error)
- func (UnimplementedBackendServer) CurrentUser(context.Context, *CurrentUserRequest) (*CurrentUserResponse, error)
- func (UnimplementedBackendServer) DeleteCompetition(context.Context, *chalgen.Competition) (*Empty, error)
- func (UnimplementedBackendServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Empty, error)
- func (UnimplementedBackendServer) GetCompetitions(context.Context, *Empty) (*chalgen.CompetitionList, error)
- func (UnimplementedBackendServer) GetComputer(context.Context, *GetComputerRequest) (*GetComputerResponse, error)
- func (UnimplementedBackendServer) GetDiscoveredEvidence(context.Context, *GetDiscoveredEvidenceRequest) (*GetDiscoveredEvidenceResponse, error)
- func (UnimplementedBackendServer) GetHomePage(context.Context, *GetHomePageRequest) (*GetHomePageResponse, error)
- func (UnimplementedBackendServer) GetUserWriteup(context.Context, *Empty) (*GetUserWriteupResponse, error)
- func (UnimplementedBackendServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedBackendServer) Logout(context.Context, *Empty) (*Empty, error)
- func (UnimplementedBackendServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedBackendServer) SignedURL(context.Context, *SignedURLRequest) (*SignedURLResponse, error)
- func (UnimplementedBackendServer) SubmitEvidence(context.Context, *SubmitEvidenceRequest) (*SubmitEvidenceResponse, error)
- func (UnimplementedBackendServer) SubmitEvidenceConnection(context.Context, *SubmitEvidenceConnectionRequest) (*SubmitEvidenceConnectionResponse, error)
- func (UnimplementedBackendServer) SubmitEvidenceReport(context.Context, *SubmitEvidenceReportRequest) (*SubmitEvidenceReportRequest, error)
- func (UnimplementedBackendServer) SubmitFlag(context.Context, *SubmitFlagRequest) (*SubmitFlagResponse, error)
- func (UnimplementedBackendServer) SubmitWriteup(context.Context, *SubmitWriteupRequest) (*Empty, error)
- func (UnimplementedBackendServer) UpdateCompetition(context.Context, *chalgen.Competition) (*chalgen.Competition, error)
- type UnsafeAdminServer
- type UnsafeBackendServer
- type UpsertChallengeRequest
- func (*UpsertChallengeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertChallengeRequest) GetChallengeName() string
- func (x *UpsertChallengeRequest) GetFlag() string
- func (*UpsertChallengeRequest) ProtoMessage()
- func (x *UpsertChallengeRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertChallengeRequest) Reset()
- func (x *UpsertChallengeRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var Admin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "xctf.Admin", HandlerType: (*AdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpsertChallenge", Handler: _Admin_UpsertChallenge_Handler, }, { MethodName: "DeleteChallenge", Handler: _Admin_DeleteChallenge_Handler, }, { MethodName: "GetTeamsProgress", Handler: _Admin_GetTeamsProgress_Handler, }, { MethodName: "GetAllChallenges", Handler: _Admin_GetAllChallenges_Handler, }, { MethodName: "SetHomePage", Handler: _Admin_SetHomePage_Handler, }, { MethodName: "GetWriteup", Handler: _Admin_GetWriteup_Handler, }, { MethodName: "SubmitGrade", Handler: _Admin_SubmitGrade_Handler, }, { MethodName: "SubmitComment", Handler: _Admin_SubmitComment_Handler, }, { MethodName: "GetComments", Handler: _Admin_GetComments_Handler, }, { MethodName: "GetUserGraph", Handler: _Admin_GetUserGraph_Handler, }, { MethodName: "SetComputer", Handler: _Admin_SetComputer_Handler, }, { MethodName: "ExportChallenge", Handler: _Admin_ExportChallenge_Handler, }, { MethodName: "ImportChallenge", Handler: _Admin_ImportChallenge_Handler, }, { MethodName: "Readdir", Handler: _Admin_Readdir_Handler, }, { MethodName: "Remove", Handler: _Admin_Remove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "xctf/xctf.proto", }
Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Backend_ServiceDesc = grpc.ServiceDesc{ ServiceName: "xctf.Backend", HandlerType: (*BackendServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _Backend_Register_Handler, }, { MethodName: "Login", Handler: _Backend_Login_Handler, }, { MethodName: "Logout", Handler: _Backend_Logout_Handler, }, { MethodName: "CurrentUser", Handler: _Backend_CurrentUser_Handler, }, { MethodName: "GetComputer", Handler: _Backend_GetComputer_Handler, }, { MethodName: "SubmitFlag", Handler: _Backend_SubmitFlag_Handler, }, { MethodName: "SubmitEvidenceReport", Handler: _Backend_SubmitEvidenceReport_Handler, }, { MethodName: "GetDiscoveredEvidence", Handler: _Backend_GetDiscoveredEvidence_Handler, }, { MethodName: "SubmitEvidence", Handler: _Backend_SubmitEvidence_Handler, }, { MethodName: "SubmitEvidenceConnection", Handler: _Backend_SubmitEvidenceConnection_Handler, }, { MethodName: "GetHomePage", Handler: _Backend_GetHomePage_Handler, }, { MethodName: "ForgotPassword", Handler: _Backend_ForgotPassword_Handler, }, { MethodName: "SubmitWriteup", Handler: _Backend_SubmitWriteup_Handler, }, { MethodName: "GetUserWriteup", Handler: _Backend_GetUserWriteup_Handler, }, { MethodName: "GetCompetitions", Handler: _Backend_GetCompetitions_Handler, }, { MethodName: "UpdateCompetition", Handler: _Backend_UpdateCompetition_Handler, }, { MethodName: "DeleteCompetition", Handler: _Backend_DeleteCompetition_Handler, }, { MethodName: "ChallengeType", Handler: _Backend_ChallengeType_Handler, }, { MethodName: "SignedURL", Handler: _Backend_SignedURL_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "xctf/xctf.proto", }
Backend_ServiceDesc is the grpc.ServiceDesc for Backend service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_xctf_xctf_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServer ¶
func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
func RegisterBackendServer ¶
func RegisterBackendServer(s grpc.ServiceRegistrar, srv BackendServer)
Types ¶
type AdminClient ¶
type AdminClient interface { UpsertChallenge(ctx context.Context, in *UpsertChallengeRequest, opts ...grpc.CallOption) (*Empty, error) DeleteChallenge(ctx context.Context, in *DeleteChallengeRequest, opts ...grpc.CallOption) (*Empty, error) GetTeamsProgress(ctx context.Context, in *GetTeamsProgressRequest, opts ...grpc.CallOption) (*GetTeamsProgressResponse, error) GetAllChallenges(ctx context.Context, in *GetAllChallengesRequest, opts ...grpc.CallOption) (*GetAllChallengesResponse, error) SetHomePage(ctx context.Context, in *SetHomePageRequest, opts ...grpc.CallOption) (*Empty, error) GetWriteup(ctx context.Context, in *GetWriteupRequest, opts ...grpc.CallOption) (*GetWriteupResponse, error) SubmitGrade(ctx context.Context, in *SubmitGradeRequest, opts ...grpc.CallOption) (*Empty, error) SubmitComment(ctx context.Context, in *SubmitCommentRequest, opts ...grpc.CallOption) (*Empty, error) GetComments(ctx context.Context, in *GetCommentsRequest, opts ...grpc.CallOption) (*GetCommentsResponse, error) GetUserGraph(ctx context.Context, in *GetUserGraphRequest, opts ...grpc.CallOption) (*GetUserGraphResponse, error) SetComputer(ctx context.Context, in *SetComputerRequest, opts ...grpc.CallOption) (*Empty, error) ExportChallenge(ctx context.Context, in *chalgen.Node, opts ...grpc.CallOption) (*ExportChallengeResponse, error) ImportChallenge(ctx context.Context, in *ImportChallengeRequest, opts ...grpc.CallOption) (*ImportChallengeResponse, error) Readdir(ctx context.Context, in *ReaddirRequest, opts ...grpc.CallOption) (*ReaddirResponse, error) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) }
AdminClient is the client API for Admin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminClient ¶
func NewAdminClient(cc grpc.ClientConnInterface) AdminClient
type AdminServer ¶
type AdminServer interface { UpsertChallenge(context.Context, *UpsertChallengeRequest) (*Empty, error) DeleteChallenge(context.Context, *DeleteChallengeRequest) (*Empty, error) GetTeamsProgress(context.Context, *GetTeamsProgressRequest) (*GetTeamsProgressResponse, error) GetAllChallenges(context.Context, *GetAllChallengesRequest) (*GetAllChallengesResponse, error) SetHomePage(context.Context, *SetHomePageRequest) (*Empty, error) GetWriteup(context.Context, *GetWriteupRequest) (*GetWriteupResponse, error) SubmitGrade(context.Context, *SubmitGradeRequest) (*Empty, error) SubmitComment(context.Context, *SubmitCommentRequest) (*Empty, error) GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error) GetUserGraph(context.Context, *GetUserGraphRequest) (*GetUserGraphResponse, error) SetComputer(context.Context, *SetComputerRequest) (*Empty, error) ExportChallenge(context.Context, *chalgen.Node) (*ExportChallengeResponse, error) ImportChallenge(context.Context, *ImportChallengeRequest) (*ImportChallengeResponse, error) Readdir(context.Context, *ReaddirRequest) (*ReaddirResponse, error) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) }
AdminServer is the server API for Admin service. All implementations should embed UnimplementedAdminServer for forward compatibility
type BackendClient ¶
type BackendClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) Logout(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) CurrentUser(ctx context.Context, in *CurrentUserRequest, opts ...grpc.CallOption) (*CurrentUserResponse, error) GetComputer(ctx context.Context, in *GetComputerRequest, opts ...grpc.CallOption) (*GetComputerResponse, error) SubmitFlag(ctx context.Context, in *SubmitFlagRequest, opts ...grpc.CallOption) (*SubmitFlagResponse, error) SubmitEvidenceReport(ctx context.Context, in *SubmitEvidenceReportRequest, opts ...grpc.CallOption) (*SubmitEvidenceReportRequest, error) GetDiscoveredEvidence(ctx context.Context, in *GetDiscoveredEvidenceRequest, opts ...grpc.CallOption) (*GetDiscoveredEvidenceResponse, error) SubmitEvidence(ctx context.Context, in *SubmitEvidenceRequest, opts ...grpc.CallOption) (*SubmitEvidenceResponse, error) SubmitEvidenceConnection(ctx context.Context, in *SubmitEvidenceConnectionRequest, opts ...grpc.CallOption) (*SubmitEvidenceConnectionResponse, error) GetHomePage(ctx context.Context, in *GetHomePageRequest, opts ...grpc.CallOption) (*GetHomePageResponse, error) ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*Empty, error) SubmitWriteup(ctx context.Context, in *SubmitWriteupRequest, opts ...grpc.CallOption) (*Empty, error) GetUserWriteup(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetUserWriteupResponse, error) GetCompetitions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*chalgen.CompetitionList, error) UpdateCompetition(ctx context.Context, in *chalgen.Competition, opts ...grpc.CallOption) (*chalgen.Competition, error) DeleteCompetition(ctx context.Context, in *chalgen.Competition, opts ...grpc.CallOption) (*Empty, error) ChallengeType(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ChallengeTypeResponse, error) SignedURL(ctx context.Context, in *SignedURLRequest, opts ...grpc.CallOption) (*SignedURLResponse, error) }
BackendClient is the client API for Backend service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewBackendClient ¶
func NewBackendClient(cc grpc.ClientConnInterface) BackendClient
type BackendServer ¶
type BackendServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) Logout(context.Context, *Empty) (*Empty, error) CurrentUser(context.Context, *CurrentUserRequest) (*CurrentUserResponse, error) GetComputer(context.Context, *GetComputerRequest) (*GetComputerResponse, error) SubmitFlag(context.Context, *SubmitFlagRequest) (*SubmitFlagResponse, error) SubmitEvidenceReport(context.Context, *SubmitEvidenceReportRequest) (*SubmitEvidenceReportRequest, error) GetDiscoveredEvidence(context.Context, *GetDiscoveredEvidenceRequest) (*GetDiscoveredEvidenceResponse, error) SubmitEvidence(context.Context, *SubmitEvidenceRequest) (*SubmitEvidenceResponse, error) SubmitEvidenceConnection(context.Context, *SubmitEvidenceConnectionRequest) (*SubmitEvidenceConnectionResponse, error) GetHomePage(context.Context, *GetHomePageRequest) (*GetHomePageResponse, error) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Empty, error) SubmitWriteup(context.Context, *SubmitWriteupRequest) (*Empty, error) GetUserWriteup(context.Context, *Empty) (*GetUserWriteupResponse, error) GetCompetitions(context.Context, *Empty) (*chalgen.CompetitionList, error) UpdateCompetition(context.Context, *chalgen.Competition) (*chalgen.Competition, error) DeleteCompetition(context.Context, *chalgen.Competition) (*Empty, error) ChallengeType(context.Context, *Empty) (*ChallengeTypeResponse, error) SignedURL(context.Context, *SignedURLRequest) (*SignedURLResponse, error) }
BackendServer is the server API for Backend service. All implementations should embed UnimplementedBackendServer for forward compatibility
type Challenge ¶
type Challenge struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"` // contains filtered or unexported fields }
func (*Challenge) Descriptor
deprecated
func (*Challenge) ProtoMessage ¶
func (*Challenge) ProtoMessage()
func (*Challenge) ProtoReflect ¶
func (x *Challenge) ProtoReflect() protoreflect.Message
type ChallengeTypeResponse ¶
type ChallengeTypeResponse struct { TypeInfo *GRPCTypeInfo `protobuf:"bytes,1,opt,name=type_info,json=typeInfo,proto3" json:"type_info,omitempty"` // contains filtered or unexported fields }
func (*ChallengeTypeResponse) Descriptor
deprecated
func (*ChallengeTypeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChallengeTypeResponse.ProtoReflect.Descriptor instead.
func (*ChallengeTypeResponse) GetTypeInfo ¶
func (x *ChallengeTypeResponse) GetTypeInfo() *GRPCTypeInfo
func (*ChallengeTypeResponse) ProtoMessage ¶
func (*ChallengeTypeResponse) ProtoMessage()
func (*ChallengeTypeResponse) ProtoReflect ¶
func (x *ChallengeTypeResponse) ProtoReflect() protoreflect.Message
func (*ChallengeTypeResponse) Reset ¶
func (x *ChallengeTypeResponse) Reset()
func (*ChallengeTypeResponse) String ¶
func (x *ChallengeTypeResponse) String() string
type Comment ¶
type Comment struct { Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Areas []*HighlightArea `protobuf:"bytes,4,rep,name=areas,proto3" json:"areas,omitempty"` Quote string `protobuf:"bytes,5,opt,name=quote,proto3" json:"quote,omitempty"` // contains filtered or unexported fields }
func (*Comment) Descriptor
deprecated
func (*Comment) GetAreas ¶
func (x *Comment) GetAreas() []*HighlightArea
func (*Comment) GetContent ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type Connection ¶
type Connection struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Source uint32 `protobuf:"varint,2,opt,name=source,proto3" json:"source,omitempty"` Destination uint32 `protobuf:"varint,3,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetDestination ¶
func (x *Connection) GetDestination() uint32
func (*Connection) GetId ¶
func (x *Connection) GetId() uint32
func (*Connection) GetSource ¶
func (x *Connection) GetSource() uint32
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type CurrentUserRequest ¶
type CurrentUserRequest struct {
// contains filtered or unexported fields
}
func (*CurrentUserRequest) Descriptor
deprecated
func (*CurrentUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CurrentUserRequest.ProtoReflect.Descriptor instead.
func (*CurrentUserRequest) ProtoMessage ¶
func (*CurrentUserRequest) ProtoMessage()
func (*CurrentUserRequest) ProtoReflect ¶
func (x *CurrentUserRequest) ProtoReflect() protoreflect.Message
func (*CurrentUserRequest) Reset ¶
func (x *CurrentUserRequest) Reset()
func (*CurrentUserRequest) String ¶
func (x *CurrentUserRequest) String() string
type CurrentUserResponse ¶
type CurrentUserResponse struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` UserRole string `protobuf:"bytes,2,opt,name=userRole,proto3" json:"userRole,omitempty"` Pages []*Page `protobuf:"bytes,3,rep,name=pages,proto3" json:"pages,omitempty"` // contains filtered or unexported fields }
func (*CurrentUserResponse) Descriptor
deprecated
func (*CurrentUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CurrentUserResponse.ProtoReflect.Descriptor instead.
func (*CurrentUserResponse) GetPages ¶
func (x *CurrentUserResponse) GetPages() []*Page
func (*CurrentUserResponse) GetUserRole ¶
func (x *CurrentUserResponse) GetUserRole() string
func (*CurrentUserResponse) GetUsername ¶
func (x *CurrentUserResponse) GetUsername() string
func (*CurrentUserResponse) ProtoMessage ¶
func (*CurrentUserResponse) ProtoMessage()
func (*CurrentUserResponse) ProtoReflect ¶
func (x *CurrentUserResponse) ProtoReflect() protoreflect.Message
func (*CurrentUserResponse) Reset ¶
func (x *CurrentUserResponse) Reset()
func (*CurrentUserResponse) String ¶
func (x *CurrentUserResponse) String() string
type DeleteChallengeRequest ¶
type DeleteChallengeRequest struct { ChallengeName string `protobuf:"bytes,1,opt,name=challengeName,proto3" json:"challengeName,omitempty"` // contains filtered or unexported fields }
func (*DeleteChallengeRequest) Descriptor
deprecated
func (*DeleteChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChallengeRequest.ProtoReflect.Descriptor instead.
func (*DeleteChallengeRequest) GetChallengeName ¶
func (x *DeleteChallengeRequest) GetChallengeName() string
func (*DeleteChallengeRequest) ProtoMessage ¶
func (*DeleteChallengeRequest) ProtoMessage()
func (*DeleteChallengeRequest) ProtoReflect ¶
func (x *DeleteChallengeRequest) ProtoReflect() protoreflect.Message
func (*DeleteChallengeRequest) Reset ¶
func (x *DeleteChallengeRequest) Reset()
func (*DeleteChallengeRequest) String ¶
func (x *DeleteChallengeRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Entrypoint ¶
type Entrypoint struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Route string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` // contains filtered or unexported fields }
func (*Entrypoint) Descriptor
deprecated
func (*Entrypoint) Descriptor() ([]byte, []int)
Deprecated: Use Entrypoint.ProtoReflect.Descriptor instead.
func (*Entrypoint) GetName ¶
func (x *Entrypoint) GetName() string
func (*Entrypoint) GetRoute ¶
func (x *Entrypoint) GetRoute() string
func (*Entrypoint) ProtoMessage ¶
func (*Entrypoint) ProtoMessage()
func (*Entrypoint) ProtoReflect ¶
func (x *Entrypoint) ProtoReflect() protoreflect.Message
func (*Entrypoint) Reset ¶
func (x *Entrypoint) Reset()
func (*Entrypoint) String ¶
func (x *Entrypoint) String() string
type Evidence ¶
type Evidence struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ChallengeID uint32 `protobuf:"varint,3,opt,name=challengeID,proto3" json:"challengeID,omitempty"` X int32 `protobuf:"varint,4,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,5,opt,name=y,proto3" json:"y,omitempty"` IsFlag bool `protobuf:"varint,6,opt,name=isFlag,proto3" json:"isFlag,omitempty"` // contains filtered or unexported fields }
func (*Evidence) Descriptor
deprecated
func (*Evidence) GetChallengeID ¶
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶
func (x *Evidence) ProtoReflect() protoreflect.Message
type ExportChallengeResponse ¶
type ExportChallengeResponse struct { Yaml string `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*ExportChallengeResponse) Descriptor
deprecated
func (*ExportChallengeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportChallengeResponse.ProtoReflect.Descriptor instead.
func (*ExportChallengeResponse) GetYaml ¶
func (x *ExportChallengeResponse) GetYaml() string
func (*ExportChallengeResponse) ProtoMessage ¶
func (*ExportChallengeResponse) ProtoMessage()
func (*ExportChallengeResponse) ProtoReflect ¶
func (x *ExportChallengeResponse) ProtoReflect() protoreflect.Message
func (*ExportChallengeResponse) Reset ¶
func (x *ExportChallengeResponse) Reset()
func (*ExportChallengeResponse) String ¶
func (x *ExportChallengeResponse) String() string
type FileInfo ¶
type FileInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordRequest) Descriptor
deprecated
func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgotPasswordRequest) GetEmail ¶
func (x *ForgotPasswordRequest) GetEmail() string
func (*ForgotPasswordRequest) ProtoMessage ¶
func (*ForgotPasswordRequest) ProtoMessage()
func (*ForgotPasswordRequest) ProtoReflect ¶
func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgotPasswordRequest) Reset ¶
func (x *ForgotPasswordRequest) Reset()
func (*ForgotPasswordRequest) String ¶
func (x *ForgotPasswordRequest) String() string
type GRPCTypeInfo ¶
type GRPCTypeInfo struct { Msg *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` DescLookup map[string]*descriptorpb.DescriptorProto `` /* 179-byte string literal not displayed */ EnumLookup map[string]*descriptorpb.EnumDescriptorProto `` /* 179-byte string literal not displayed */ PackageName string `protobuf:"bytes,6,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // contains filtered or unexported fields }
func (*GRPCTypeInfo) Descriptor
deprecated
func (*GRPCTypeInfo) Descriptor() ([]byte, []int)
Deprecated: Use GRPCTypeInfo.ProtoReflect.Descriptor instead.
func (*GRPCTypeInfo) GetDescLookup ¶
func (x *GRPCTypeInfo) GetDescLookup() map[string]*descriptorpb.DescriptorProto
func (*GRPCTypeInfo) GetEnumLookup ¶
func (x *GRPCTypeInfo) GetEnumLookup() map[string]*descriptorpb.EnumDescriptorProto
func (*GRPCTypeInfo) GetMsg ¶
func (x *GRPCTypeInfo) GetMsg() *descriptorpb.DescriptorProto
func (*GRPCTypeInfo) GetPackageName ¶
func (x *GRPCTypeInfo) GetPackageName() string
func (*GRPCTypeInfo) ProtoMessage ¶
func (*GRPCTypeInfo) ProtoMessage()
func (*GRPCTypeInfo) ProtoReflect ¶
func (x *GRPCTypeInfo) ProtoReflect() protoreflect.Message
func (*GRPCTypeInfo) Reset ¶
func (x *GRPCTypeInfo) Reset()
func (*GRPCTypeInfo) String ¶
func (x *GRPCTypeInfo) String() string
type GetAllChallengesRequest ¶
type GetAllChallengesRequest struct {
// contains filtered or unexported fields
}
func (*GetAllChallengesRequest) Descriptor
deprecated
func (*GetAllChallengesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAllChallengesRequest.ProtoReflect.Descriptor instead.
func (*GetAllChallengesRequest) ProtoMessage ¶
func (*GetAllChallengesRequest) ProtoMessage()
func (*GetAllChallengesRequest) ProtoReflect ¶
func (x *GetAllChallengesRequest) ProtoReflect() protoreflect.Message
func (*GetAllChallengesRequest) Reset ¶
func (x *GetAllChallengesRequest) Reset()
func (*GetAllChallengesRequest) String ¶
func (x *GetAllChallengesRequest) String() string
type GetAllChallengesResponse ¶
type GetAllChallengesResponse struct { Challenges []*Challenge `protobuf:"bytes,1,rep,name=challenges,proto3" json:"challenges,omitempty"` // contains filtered or unexported fields }
func (*GetAllChallengesResponse) Descriptor
deprecated
func (*GetAllChallengesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAllChallengesResponse.ProtoReflect.Descriptor instead.
func (*GetAllChallengesResponse) GetChallenges ¶
func (x *GetAllChallengesResponse) GetChallenges() []*Challenge
func (*GetAllChallengesResponse) ProtoMessage ¶
func (*GetAllChallengesResponse) ProtoMessage()
func (*GetAllChallengesResponse) ProtoReflect ¶
func (x *GetAllChallengesResponse) ProtoReflect() protoreflect.Message
func (*GetAllChallengesResponse) Reset ¶
func (x *GetAllChallengesResponse) Reset()
func (*GetAllChallengesResponse) String ¶
func (x *GetAllChallengesResponse) String() string
type GetCommentsRequest ¶
type GetCommentsRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsRequest) Descriptor
deprecated
func (*GetCommentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsRequest.ProtoReflect.Descriptor instead.
func (*GetCommentsRequest) GetUsername ¶
func (x *GetCommentsRequest) GetUsername() string
func (*GetCommentsRequest) ProtoMessage ¶
func (*GetCommentsRequest) ProtoMessage()
func (*GetCommentsRequest) ProtoReflect ¶
func (x *GetCommentsRequest) ProtoReflect() protoreflect.Message
func (*GetCommentsRequest) Reset ¶
func (x *GetCommentsRequest) Reset()
func (*GetCommentsRequest) String ¶
func (x *GetCommentsRequest) String() string
type GetCommentsResponse ¶
type GetCommentsResponse struct { Comments []*Comment `protobuf:"bytes,1,rep,name=comments,proto3" json:"comments,omitempty"` // contains filtered or unexported fields }
func (*GetCommentsResponse) Descriptor
deprecated
func (*GetCommentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCommentsResponse.ProtoReflect.Descriptor instead.
func (*GetCommentsResponse) GetComments ¶
func (x *GetCommentsResponse) GetComments() []*Comment
func (*GetCommentsResponse) ProtoMessage ¶
func (*GetCommentsResponse) ProtoMessage()
func (*GetCommentsResponse) ProtoReflect ¶
func (x *GetCommentsResponse) ProtoReflect() protoreflect.Message
func (*GetCommentsResponse) Reset ¶
func (x *GetCommentsResponse) Reset()
func (*GetCommentsResponse) String ¶
func (x *GetCommentsResponse) String() string
type GetComputerRequest ¶
type GetComputerRequest struct {
// contains filtered or unexported fields
}
func (*GetComputerRequest) Descriptor
deprecated
func (*GetComputerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetComputerRequest.ProtoReflect.Descriptor instead.
func (*GetComputerRequest) ProtoMessage ¶
func (*GetComputerRequest) ProtoMessage()
func (*GetComputerRequest) ProtoReflect ¶
func (x *GetComputerRequest) ProtoReflect() protoreflect.Message
func (*GetComputerRequest) Reset ¶
func (x *GetComputerRequest) Reset()
func (*GetComputerRequest) String ¶
func (x *GetComputerRequest) String() string
type GetComputerResponse ¶
type GetComputerResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Loading bool `protobuf:"varint,2,opt,name=loading,proto3" json:"loading,omitempty"` // contains filtered or unexported fields }
func (*GetComputerResponse) Descriptor
deprecated
func (*GetComputerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetComputerResponse.ProtoReflect.Descriptor instead.
func (*GetComputerResponse) GetLoading ¶
func (x *GetComputerResponse) GetLoading() bool
func (*GetComputerResponse) GetUrl ¶
func (x *GetComputerResponse) GetUrl() string
func (*GetComputerResponse) ProtoMessage ¶
func (*GetComputerResponse) ProtoMessage()
func (*GetComputerResponse) ProtoReflect ¶
func (x *GetComputerResponse) ProtoReflect() protoreflect.Message
func (*GetComputerResponse) Reset ¶
func (x *GetComputerResponse) Reset()
func (*GetComputerResponse) String ¶
func (x *GetComputerResponse) String() string
type GetDiscoveredEvidenceRequest ¶
type GetDiscoveredEvidenceRequest struct {
// contains filtered or unexported fields
}
func (*GetDiscoveredEvidenceRequest) Descriptor
deprecated
func (*GetDiscoveredEvidenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDiscoveredEvidenceRequest.ProtoReflect.Descriptor instead.
func (*GetDiscoveredEvidenceRequest) ProtoMessage ¶
func (*GetDiscoveredEvidenceRequest) ProtoMessage()
func (*GetDiscoveredEvidenceRequest) ProtoReflect ¶
func (x *GetDiscoveredEvidenceRequest) ProtoReflect() protoreflect.Message
func (*GetDiscoveredEvidenceRequest) Reset ¶
func (x *GetDiscoveredEvidenceRequest) Reset()
func (*GetDiscoveredEvidenceRequest) String ¶
func (x *GetDiscoveredEvidenceRequest) String() string
type GetDiscoveredEvidenceResponse ¶
type GetDiscoveredEvidenceResponse struct { Report string `protobuf:"bytes,1,opt,name=report,proto3" json:"report,omitempty"` Evidence []*Evidence `protobuf:"bytes,2,rep,name=evidence,proto3" json:"evidence,omitempty"` Connections []*Connection `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"` // contains filtered or unexported fields }
func (*GetDiscoveredEvidenceResponse) Descriptor
deprecated
func (*GetDiscoveredEvidenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDiscoveredEvidenceResponse.ProtoReflect.Descriptor instead.
func (*GetDiscoveredEvidenceResponse) GetConnections ¶
func (x *GetDiscoveredEvidenceResponse) GetConnections() []*Connection
func (*GetDiscoveredEvidenceResponse) GetEvidence ¶
func (x *GetDiscoveredEvidenceResponse) GetEvidence() []*Evidence
func (*GetDiscoveredEvidenceResponse) GetReport ¶
func (x *GetDiscoveredEvidenceResponse) GetReport() string
func (*GetDiscoveredEvidenceResponse) ProtoMessage ¶
func (*GetDiscoveredEvidenceResponse) ProtoMessage()
func (*GetDiscoveredEvidenceResponse) ProtoReflect ¶
func (x *GetDiscoveredEvidenceResponse) ProtoReflect() protoreflect.Message
func (*GetDiscoveredEvidenceResponse) Reset ¶
func (x *GetDiscoveredEvidenceResponse) Reset()
func (*GetDiscoveredEvidenceResponse) String ¶
func (x *GetDiscoveredEvidenceResponse) String() string
type GetHomePageRequest ¶
type GetHomePageRequest struct {
// contains filtered or unexported fields
}
func (*GetHomePageRequest) Descriptor
deprecated
func (*GetHomePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHomePageRequest.ProtoReflect.Descriptor instead.
func (*GetHomePageRequest) ProtoMessage ¶
func (*GetHomePageRequest) ProtoMessage()
func (*GetHomePageRequest) ProtoReflect ¶
func (x *GetHomePageRequest) ProtoReflect() protoreflect.Message
func (*GetHomePageRequest) Reset ¶
func (x *GetHomePageRequest) Reset()
func (*GetHomePageRequest) String ¶
func (x *GetHomePageRequest) String() string
type GetHomePageResponse ¶
type GetHomePageResponse struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Entrypoints []*Entrypoint `protobuf:"bytes,2,rep,name=entrypoints,proto3" json:"entrypoints,omitempty"` // contains filtered or unexported fields }
func (*GetHomePageResponse) Descriptor
deprecated
func (*GetHomePageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHomePageResponse.ProtoReflect.Descriptor instead.
func (*GetHomePageResponse) GetContent ¶
func (x *GetHomePageResponse) GetContent() string
func (*GetHomePageResponse) GetEntrypoints ¶
func (x *GetHomePageResponse) GetEntrypoints() []*Entrypoint
func (*GetHomePageResponse) ProtoMessage ¶
func (*GetHomePageResponse) ProtoMessage()
func (*GetHomePageResponse) ProtoReflect ¶
func (x *GetHomePageResponse) ProtoReflect() protoreflect.Message
func (*GetHomePageResponse) Reset ¶
func (x *GetHomePageResponse) Reset()
func (*GetHomePageResponse) String ¶
func (x *GetHomePageResponse) String() string
type GetTeamsProgressRequest ¶
type GetTeamsProgressRequest struct {
// contains filtered or unexported fields
}
func (*GetTeamsProgressRequest) Descriptor
deprecated
func (*GetTeamsProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamsProgressRequest.ProtoReflect.Descriptor instead.
func (*GetTeamsProgressRequest) ProtoMessage ¶
func (*GetTeamsProgressRequest) ProtoMessage()
func (*GetTeamsProgressRequest) ProtoReflect ¶
func (x *GetTeamsProgressRequest) ProtoReflect() protoreflect.Message
func (*GetTeamsProgressRequest) Reset ¶
func (x *GetTeamsProgressRequest) Reset()
func (*GetTeamsProgressRequest) String ¶
func (x *GetTeamsProgressRequest) String() string
type GetTeamsProgressResponse ¶
type GetTeamsProgressResponse struct { Teams []*TeamProgress `protobuf:"bytes,1,rep,name=teams,proto3" json:"teams,omitempty"` // contains filtered or unexported fields }
func (*GetTeamsProgressResponse) Descriptor
deprecated
func (*GetTeamsProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTeamsProgressResponse.ProtoReflect.Descriptor instead.
func (*GetTeamsProgressResponse) GetTeams ¶
func (x *GetTeamsProgressResponse) GetTeams() []*TeamProgress
func (*GetTeamsProgressResponse) ProtoMessage ¶
func (*GetTeamsProgressResponse) ProtoMessage()
func (*GetTeamsProgressResponse) ProtoReflect ¶
func (x *GetTeamsProgressResponse) ProtoReflect() protoreflect.Message
func (*GetTeamsProgressResponse) Reset ¶
func (x *GetTeamsProgressResponse) Reset()
func (*GetTeamsProgressResponse) String ¶
func (x *GetTeamsProgressResponse) String() string
type GetUserGraphRequest ¶
type GetUserGraphRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserGraphRequest) Descriptor
deprecated
func (*GetUserGraphRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserGraphRequest.ProtoReflect.Descriptor instead.
func (*GetUserGraphRequest) GetUsername ¶
func (x *GetUserGraphRequest) GetUsername() string
func (*GetUserGraphRequest) ProtoMessage ¶
func (*GetUserGraphRequest) ProtoMessage()
func (*GetUserGraphRequest) ProtoReflect ¶
func (x *GetUserGraphRequest) ProtoReflect() protoreflect.Message
func (*GetUserGraphRequest) Reset ¶
func (x *GetUserGraphRequest) Reset()
func (*GetUserGraphRequest) String ¶
func (x *GetUserGraphRequest) String() string
type GetUserGraphResponse ¶
type GetUserGraphResponse struct { Evidence []*Evidence `protobuf:"bytes,1,rep,name=evidence,proto3" json:"evidence,omitempty"` Connections []*Connection `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"` // contains filtered or unexported fields }
func (*GetUserGraphResponse) Descriptor
deprecated
func (*GetUserGraphResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserGraphResponse.ProtoReflect.Descriptor instead.
func (*GetUserGraphResponse) GetConnections ¶
func (x *GetUserGraphResponse) GetConnections() []*Connection
func (*GetUserGraphResponse) GetEvidence ¶
func (x *GetUserGraphResponse) GetEvidence() []*Evidence
func (*GetUserGraphResponse) ProtoMessage ¶
func (*GetUserGraphResponse) ProtoMessage()
func (*GetUserGraphResponse) ProtoReflect ¶
func (x *GetUserGraphResponse) ProtoReflect() protoreflect.Message
func (*GetUserGraphResponse) Reset ¶
func (x *GetUserGraphResponse) Reset()
func (*GetUserGraphResponse) String ¶
func (x *GetUserGraphResponse) String() string
type GetUserWriteupResponse ¶
type GetUserWriteupResponse struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*GetUserWriteupResponse) Descriptor
deprecated
func (*GetUserWriteupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserWriteupResponse.ProtoReflect.Descriptor instead.
func (*GetUserWriteupResponse) GetContent ¶
func (x *GetUserWriteupResponse) GetContent() string
func (*GetUserWriteupResponse) ProtoMessage ¶
func (*GetUserWriteupResponse) ProtoMessage()
func (*GetUserWriteupResponse) ProtoReflect ¶
func (x *GetUserWriteupResponse) ProtoReflect() protoreflect.Message
func (*GetUserWriteupResponse) Reset ¶
func (x *GetUserWriteupResponse) Reset()
func (*GetUserWriteupResponse) String ¶
func (x *GetUserWriteupResponse) String() string
type GetWriteupRequest ¶
type GetWriteupRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetWriteupRequest) Descriptor
deprecated
func (*GetWriteupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWriteupRequest.ProtoReflect.Descriptor instead.
func (*GetWriteupRequest) GetUsername ¶
func (x *GetWriteupRequest) GetUsername() string
func (*GetWriteupRequest) ProtoMessage ¶
func (*GetWriteupRequest) ProtoMessage()
func (*GetWriteupRequest) ProtoReflect ¶
func (x *GetWriteupRequest) ProtoReflect() protoreflect.Message
func (*GetWriteupRequest) Reset ¶
func (x *GetWriteupRequest) Reset()
func (*GetWriteupRequest) String ¶
func (x *GetWriteupRequest) String() string
type GetWriteupResponse ¶
type GetWriteupResponse struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*GetWriteupResponse) Descriptor
deprecated
func (*GetWriteupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWriteupResponse.ProtoReflect.Descriptor instead.
func (*GetWriteupResponse) GetContent ¶
func (x *GetWriteupResponse) GetContent() string
func (*GetWriteupResponse) GetType ¶
func (x *GetWriteupResponse) GetType() string
func (*GetWriteupResponse) ProtoMessage ¶
func (*GetWriteupResponse) ProtoMessage()
func (*GetWriteupResponse) ProtoReflect ¶
func (x *GetWriteupResponse) ProtoReflect() protoreflect.Message
func (*GetWriteupResponse) Reset ¶
func (x *GetWriteupResponse) Reset()
func (*GetWriteupResponse) String ¶
func (x *GetWriteupResponse) String() string
type HighlightArea ¶
type HighlightArea struct { Height float32 `protobuf:"fixed32,1,opt,name=height,proto3" json:"height,omitempty"` Width float32 `protobuf:"fixed32,2,opt,name=width,proto3" json:"width,omitempty"` PageIndex uint32 `protobuf:"varint,3,opt,name=pageIndex,proto3" json:"pageIndex,omitempty"` Top float32 `protobuf:"fixed32,4,opt,name=top,proto3" json:"top,omitempty"` Left float32 `protobuf:"fixed32,5,opt,name=left,proto3" json:"left,omitempty"` // contains filtered or unexported fields }
func (*HighlightArea) Descriptor
deprecated
func (*HighlightArea) Descriptor() ([]byte, []int)
Deprecated: Use HighlightArea.ProtoReflect.Descriptor instead.
func (*HighlightArea) GetHeight ¶
func (x *HighlightArea) GetHeight() float32
func (*HighlightArea) GetLeft ¶
func (x *HighlightArea) GetLeft() float32
func (*HighlightArea) GetPageIndex ¶
func (x *HighlightArea) GetPageIndex() uint32
func (*HighlightArea) GetTop ¶
func (x *HighlightArea) GetTop() float32
func (*HighlightArea) GetWidth ¶
func (x *HighlightArea) GetWidth() float32
func (*HighlightArea) ProtoMessage ¶
func (*HighlightArea) ProtoMessage()
func (*HighlightArea) ProtoReflect ¶
func (x *HighlightArea) ProtoReflect() protoreflect.Message
func (*HighlightArea) Reset ¶
func (x *HighlightArea) Reset()
func (*HighlightArea) String ¶
func (x *HighlightArea) String() string
type ImportChallengeRequest ¶
type ImportChallengeRequest struct { Yaml string `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*ImportChallengeRequest) Descriptor
deprecated
func (*ImportChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportChallengeRequest.ProtoReflect.Descriptor instead.
func (*ImportChallengeRequest) GetYaml ¶
func (x *ImportChallengeRequest) GetYaml() string
func (*ImportChallengeRequest) ProtoMessage ¶
func (*ImportChallengeRequest) ProtoMessage()
func (*ImportChallengeRequest) ProtoReflect ¶
func (x *ImportChallengeRequest) ProtoReflect() protoreflect.Message
func (*ImportChallengeRequest) Reset ¶
func (x *ImportChallengeRequest) Reset()
func (*ImportChallengeRequest) String ¶
func (x *ImportChallengeRequest) String() string
type ImportChallengeResponse ¶
type ImportChallengeResponse struct { Chal *chalgen.Node `protobuf:"bytes,1,opt,name=chal,proto3" json:"chal,omitempty"` // contains filtered or unexported fields }
func (*ImportChallengeResponse) Descriptor
deprecated
func (*ImportChallengeResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportChallengeResponse.ProtoReflect.Descriptor instead.
func (*ImportChallengeResponse) GetChal ¶
func (x *ImportChallengeResponse) GetChal() *chalgen.Node
func (*ImportChallengeResponse) ProtoMessage ¶
func (*ImportChallengeResponse) ProtoMessage()
func (*ImportChallengeResponse) ProtoReflect ¶
func (x *ImportChallengeResponse) ProtoReflect() protoreflect.Message
func (*ImportChallengeResponse) Reset ¶
func (x *ImportChallengeResponse) Reset()
func (*ImportChallengeResponse) String ¶
func (x *ImportChallengeResponse) String() string
type LoginRequest ¶
type LoginRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetEmail ¶
func (x *LoginRequest) GetEmail() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` UserRole string `protobuf:"bytes,2,opt,name=userRole,proto3" json:"userRole,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetUserRole ¶
func (x *LoginResponse) GetUserRole() string
func (*LoginResponse) GetUsername ¶
func (x *LoginResponse) GetUsername() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) String() string
type Page ¶
type Page struct { Route string `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Page) Descriptor
deprecated
func (*Page) GetContent ¶
func (*Page) ProtoMessage ¶
func (*Page) ProtoMessage()
func (*Page) ProtoReflect ¶
func (x *Page) ProtoReflect() protoreflect.Message
type ReaddirRequest ¶
type ReaddirRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*ReaddirRequest) Descriptor
deprecated
func (*ReaddirRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReaddirRequest.ProtoReflect.Descriptor instead.
func (*ReaddirRequest) GetPath ¶
func (x *ReaddirRequest) GetPath() string
func (*ReaddirRequest) ProtoMessage ¶
func (*ReaddirRequest) ProtoMessage()
func (*ReaddirRequest) ProtoReflect ¶
func (x *ReaddirRequest) ProtoReflect() protoreflect.Message
func (*ReaddirRequest) Reset ¶
func (x *ReaddirRequest) Reset()
func (*ReaddirRequest) String ¶
func (x *ReaddirRequest) String() string
type ReaddirResponse ¶
type ReaddirResponse struct { Files []*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*ReaddirResponse) Descriptor
deprecated
func (*ReaddirResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReaddirResponse.ProtoReflect.Descriptor instead.
func (*ReaddirResponse) GetFiles ¶
func (x *ReaddirResponse) GetFiles() []*FileInfo
func (*ReaddirResponse) ProtoMessage ¶
func (*ReaddirResponse) ProtoMessage()
func (*ReaddirResponse) ProtoReflect ¶
func (x *ReaddirResponse) ProtoReflect() protoreflect.Message
func (*ReaddirResponse) Reset ¶
func (x *ReaddirResponse) Reset()
func (*ReaddirResponse) String ¶
func (x *ReaddirResponse) String() string
type RegisterRequest ¶
type RegisterRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetEmail ¶
func (x *RegisterRequest) GetEmail() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) GetUsername ¶
func (x *RegisterRequest) GetUsername() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) GetCreated ¶
func (x *RegisterResponse) GetCreated() bool
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetPath ¶
func (x *RemoveRequest) GetPath() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RemoveResponse ¶
type RemoveResponse struct {
// contains filtered or unexported fields
}
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
type SetComputerRequest ¶
type SetComputerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` ComputerId string `protobuf:"bytes,3,opt,name=computer_id,json=computerId,proto3" json:"computer_id,omitempty"` // contains filtered or unexported fields }
func (*SetComputerRequest) Descriptor
deprecated
func (*SetComputerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetComputerRequest.ProtoReflect.Descriptor instead.
func (*SetComputerRequest) GetComputerId ¶
func (x *SetComputerRequest) GetComputerId() string
func (*SetComputerRequest) GetId ¶
func (x *SetComputerRequest) GetId() string
func (*SetComputerRequest) GetPassword ¶
func (x *SetComputerRequest) GetPassword() string
func (*SetComputerRequest) ProtoMessage ¶
func (*SetComputerRequest) ProtoMessage()
func (*SetComputerRequest) ProtoReflect ¶
func (x *SetComputerRequest) ProtoReflect() protoreflect.Message
func (*SetComputerRequest) Reset ¶
func (x *SetComputerRequest) Reset()
func (*SetComputerRequest) String ¶
func (x *SetComputerRequest) String() string
type SetHomePageRequest ¶
type SetHomePageRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*SetHomePageRequest) Descriptor
deprecated
func (*SetHomePageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetHomePageRequest.ProtoReflect.Descriptor instead.
func (*SetHomePageRequest) GetContent ¶
func (x *SetHomePageRequest) GetContent() string
func (*SetHomePageRequest) ProtoMessage ¶
func (*SetHomePageRequest) ProtoMessage()
func (*SetHomePageRequest) ProtoReflect ¶
func (x *SetHomePageRequest) ProtoReflect() protoreflect.Message
func (*SetHomePageRequest) Reset ¶
func (x *SetHomePageRequest) Reset()
func (*SetHomePageRequest) String ¶
func (x *SetHomePageRequest) String() string
type SignedURLRequest ¶
type SignedURLRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*SignedURLRequest) Descriptor
deprecated
func (*SignedURLRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignedURLRequest.ProtoReflect.Descriptor instead.
func (*SignedURLRequest) GetPath ¶
func (x *SignedURLRequest) GetPath() string
func (*SignedURLRequest) ProtoMessage ¶
func (*SignedURLRequest) ProtoMessage()
func (*SignedURLRequest) ProtoReflect ¶
func (x *SignedURLRequest) ProtoReflect() protoreflect.Message
func (*SignedURLRequest) Reset ¶
func (x *SignedURLRequest) Reset()
func (*SignedURLRequest) String ¶
func (x *SignedURLRequest) String() string
type SignedURLResponse ¶
type SignedURLResponse struct { Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*SignedURLResponse) Descriptor
deprecated
func (*SignedURLResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignedURLResponse.ProtoReflect.Descriptor instead.
func (*SignedURLResponse) GetUrl ¶
func (x *SignedURLResponse) GetUrl() string
func (*SignedURLResponse) ProtoMessage ¶
func (*SignedURLResponse) ProtoMessage()
func (*SignedURLResponse) ProtoReflect ¶
func (x *SignedURLResponse) ProtoReflect() protoreflect.Message
func (*SignedURLResponse) Reset ¶
func (x *SignedURLResponse) Reset()
func (*SignedURLResponse) String ¶
func (x *SignedURLResponse) String() string
type SubmitCommentRequest ¶
type SubmitCommentRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Areas []*HighlightArea `protobuf:"bytes,4,rep,name=areas,proto3" json:"areas,omitempty"` Quote string `protobuf:"bytes,5,opt,name=quote,proto3" json:"quote,omitempty"` // contains filtered or unexported fields }
func (*SubmitCommentRequest) Descriptor
deprecated
func (*SubmitCommentRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitCommentRequest.ProtoReflect.Descriptor instead.
func (*SubmitCommentRequest) GetAreas ¶
func (x *SubmitCommentRequest) GetAreas() []*HighlightArea
func (*SubmitCommentRequest) GetContent ¶
func (x *SubmitCommentRequest) GetContent() string
func (*SubmitCommentRequest) GetId ¶
func (x *SubmitCommentRequest) GetId() uint32
func (*SubmitCommentRequest) GetQuote ¶
func (x *SubmitCommentRequest) GetQuote() string
func (*SubmitCommentRequest) GetUsername ¶
func (x *SubmitCommentRequest) GetUsername() string
func (*SubmitCommentRequest) ProtoMessage ¶
func (*SubmitCommentRequest) ProtoMessage()
func (*SubmitCommentRequest) ProtoReflect ¶
func (x *SubmitCommentRequest) ProtoReflect() protoreflect.Message
func (*SubmitCommentRequest) Reset ¶
func (x *SubmitCommentRequest) Reset()
func (*SubmitCommentRequest) String ¶
func (x *SubmitCommentRequest) String() string
type SubmitEvidenceConnectionRequest ¶
type SubmitEvidenceConnectionRequest struct { Source uint32 `protobuf:"varint,1,opt,name=source,proto3" json:"source,omitempty"` Destination uint32 `protobuf:"varint,2,opt,name=destination,proto3" json:"destination,omitempty"` Remove bool `protobuf:"varint,3,opt,name=remove,proto3" json:"remove,omitempty"` // contains filtered or unexported fields }
func (*SubmitEvidenceConnectionRequest) Descriptor
deprecated
func (*SubmitEvidenceConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceConnectionRequest.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceConnectionRequest) GetDestination ¶
func (x *SubmitEvidenceConnectionRequest) GetDestination() uint32
func (*SubmitEvidenceConnectionRequest) GetRemove ¶
func (x *SubmitEvidenceConnectionRequest) GetRemove() bool
func (*SubmitEvidenceConnectionRequest) GetSource ¶
func (x *SubmitEvidenceConnectionRequest) GetSource() uint32
func (*SubmitEvidenceConnectionRequest) ProtoMessage ¶
func (*SubmitEvidenceConnectionRequest) ProtoMessage()
func (*SubmitEvidenceConnectionRequest) ProtoReflect ¶
func (x *SubmitEvidenceConnectionRequest) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceConnectionRequest) Reset ¶
func (x *SubmitEvidenceConnectionRequest) Reset()
func (*SubmitEvidenceConnectionRequest) String ¶
func (x *SubmitEvidenceConnectionRequest) String() string
type SubmitEvidenceConnectionResponse ¶
type SubmitEvidenceConnectionResponse struct { Created bool `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*SubmitEvidenceConnectionResponse) Descriptor
deprecated
func (*SubmitEvidenceConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceConnectionResponse.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceConnectionResponse) GetCreated ¶
func (x *SubmitEvidenceConnectionResponse) GetCreated() bool
func (*SubmitEvidenceConnectionResponse) ProtoMessage ¶
func (*SubmitEvidenceConnectionResponse) ProtoMessage()
func (*SubmitEvidenceConnectionResponse) ProtoReflect ¶
func (x *SubmitEvidenceConnectionResponse) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceConnectionResponse) Reset ¶
func (x *SubmitEvidenceConnectionResponse) Reset()
func (*SubmitEvidenceConnectionResponse) String ¶
func (x *SubmitEvidenceConnectionResponse) String() string
type SubmitEvidenceReportRequest ¶
type SubmitEvidenceReportRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*SubmitEvidenceReportRequest) Descriptor
deprecated
func (*SubmitEvidenceReportRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceReportRequest.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceReportRequest) GetUrl ¶
func (x *SubmitEvidenceReportRequest) GetUrl() string
func (*SubmitEvidenceReportRequest) ProtoMessage ¶
func (*SubmitEvidenceReportRequest) ProtoMessage()
func (*SubmitEvidenceReportRequest) ProtoReflect ¶
func (x *SubmitEvidenceReportRequest) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceReportRequest) Reset ¶
func (x *SubmitEvidenceReportRequest) Reset()
func (*SubmitEvidenceReportRequest) String ¶
func (x *SubmitEvidenceReportRequest) String() string
type SubmitEvidenceReportResponse ¶
type SubmitEvidenceReportResponse struct {
// contains filtered or unexported fields
}
func (*SubmitEvidenceReportResponse) Descriptor
deprecated
func (*SubmitEvidenceReportResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceReportResponse.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceReportResponse) ProtoMessage ¶
func (*SubmitEvidenceReportResponse) ProtoMessage()
func (*SubmitEvidenceReportResponse) ProtoReflect ¶
func (x *SubmitEvidenceReportResponse) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceReportResponse) Reset ¶
func (x *SubmitEvidenceReportResponse) Reset()
func (*SubmitEvidenceReportResponse) String ¶
func (x *SubmitEvidenceReportResponse) String() string
type SubmitEvidenceRequest ¶
type SubmitEvidenceRequest struct { // this could either be the name of some evidence or a flag. Evidence string `protobuf:"bytes,1,opt,name=evidence,proto3" json:"evidence,omitempty"` X int32 `protobuf:"varint,2,opt,name=x,proto3" json:"x,omitempty"` Y int32 `protobuf:"varint,3,opt,name=y,proto3" json:"y,omitempty"` IsFlag bool `protobuf:"varint,4,opt,name=isFlag,proto3" json:"isFlag,omitempty"` Remove bool `protobuf:"varint,5,opt,name=remove,proto3" json:"remove,omitempty"` // contains filtered or unexported fields }
func (*SubmitEvidenceRequest) Descriptor
deprecated
func (*SubmitEvidenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceRequest.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceRequest) GetEvidence ¶
func (x *SubmitEvidenceRequest) GetEvidence() string
func (*SubmitEvidenceRequest) GetIsFlag ¶
func (x *SubmitEvidenceRequest) GetIsFlag() bool
func (*SubmitEvidenceRequest) GetRemove ¶
func (x *SubmitEvidenceRequest) GetRemove() bool
func (*SubmitEvidenceRequest) GetX ¶
func (x *SubmitEvidenceRequest) GetX() int32
func (*SubmitEvidenceRequest) GetY ¶
func (x *SubmitEvidenceRequest) GetY() int32
func (*SubmitEvidenceRequest) ProtoMessage ¶
func (*SubmitEvidenceRequest) ProtoMessage()
func (*SubmitEvidenceRequest) ProtoReflect ¶
func (x *SubmitEvidenceRequest) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceRequest) Reset ¶
func (x *SubmitEvidenceRequest) Reset()
func (*SubmitEvidenceRequest) String ¶
func (x *SubmitEvidenceRequest) String() string
type SubmitEvidenceResponse ¶
type SubmitEvidenceResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SubmitEvidenceResponse) Descriptor
deprecated
func (*SubmitEvidenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitEvidenceResponse.ProtoReflect.Descriptor instead.
func (*SubmitEvidenceResponse) GetName ¶
func (x *SubmitEvidenceResponse) GetName() string
func (*SubmitEvidenceResponse) ProtoMessage ¶
func (*SubmitEvidenceResponse) ProtoMessage()
func (*SubmitEvidenceResponse) ProtoReflect ¶
func (x *SubmitEvidenceResponse) ProtoReflect() protoreflect.Message
func (*SubmitEvidenceResponse) Reset ¶
func (x *SubmitEvidenceResponse) Reset()
func (*SubmitEvidenceResponse) String ¶
func (x *SubmitEvidenceResponse) String() string
type SubmitFlagRequest ¶
type SubmitFlagRequest struct { Flag string `protobuf:"bytes,1,opt,name=flag,proto3" json:"flag,omitempty"` // contains filtered or unexported fields }
func (*SubmitFlagRequest) Descriptor
deprecated
func (*SubmitFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitFlagRequest.ProtoReflect.Descriptor instead.
func (*SubmitFlagRequest) GetFlag ¶
func (x *SubmitFlagRequest) GetFlag() string
func (*SubmitFlagRequest) ProtoMessage ¶
func (*SubmitFlagRequest) ProtoMessage()
func (*SubmitFlagRequest) ProtoReflect ¶
func (x *SubmitFlagRequest) ProtoReflect() protoreflect.Message
func (*SubmitFlagRequest) Reset ¶
func (x *SubmitFlagRequest) Reset()
func (*SubmitFlagRequest) String ¶
func (x *SubmitFlagRequest) String() string
type SubmitFlagResponse ¶
type SubmitFlagResponse struct { Correct bool `protobuf:"varint,1,opt,name=correct,proto3" json:"correct,omitempty"` // contains filtered or unexported fields }
func (*SubmitFlagResponse) Descriptor
deprecated
func (*SubmitFlagResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitFlagResponse.ProtoReflect.Descriptor instead.
func (*SubmitFlagResponse) GetCorrect ¶
func (x *SubmitFlagResponse) GetCorrect() bool
func (*SubmitFlagResponse) ProtoMessage ¶
func (*SubmitFlagResponse) ProtoMessage()
func (*SubmitFlagResponse) ProtoReflect ¶
func (x *SubmitFlagResponse) ProtoReflect() protoreflect.Message
func (*SubmitFlagResponse) Reset ¶
func (x *SubmitFlagResponse) Reset()
func (*SubmitFlagResponse) String ¶
func (x *SubmitFlagResponse) String() string
type SubmitGradeRequest ¶
type SubmitGradeRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Score uint32 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"` // contains filtered or unexported fields }
func (*SubmitGradeRequest) Descriptor
deprecated
func (*SubmitGradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitGradeRequest.ProtoReflect.Descriptor instead.
func (*SubmitGradeRequest) GetScore ¶
func (x *SubmitGradeRequest) GetScore() uint32
func (*SubmitGradeRequest) GetUsername ¶
func (x *SubmitGradeRequest) GetUsername() string
func (*SubmitGradeRequest) ProtoMessage ¶
func (*SubmitGradeRequest) ProtoMessage()
func (*SubmitGradeRequest) ProtoReflect ¶
func (x *SubmitGradeRequest) ProtoReflect() protoreflect.Message
func (*SubmitGradeRequest) Reset ¶
func (x *SubmitGradeRequest) Reset()
func (*SubmitGradeRequest) String ¶
func (x *SubmitGradeRequest) String() string
type SubmitWriteupRequest ¶
type SubmitWriteupRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*SubmitWriteupRequest) Descriptor
deprecated
func (*SubmitWriteupRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitWriteupRequest.ProtoReflect.Descriptor instead.
func (*SubmitWriteupRequest) GetContent ¶
func (x *SubmitWriteupRequest) GetContent() string
func (*SubmitWriteupRequest) GetType ¶
func (x *SubmitWriteupRequest) GetType() string
func (*SubmitWriteupRequest) ProtoMessage ¶
func (*SubmitWriteupRequest) ProtoMessage()
func (*SubmitWriteupRequest) ProtoReflect ¶
func (x *SubmitWriteupRequest) ProtoReflect() protoreflect.Message
func (*SubmitWriteupRequest) Reset ¶
func (x *SubmitWriteupRequest) Reset()
func (*SubmitWriteupRequest) String ¶
func (x *SubmitWriteupRequest) String() string
type TeamProgress ¶
type TeamProgress struct { TeamName string `protobuf:"bytes,1,opt,name=teamName,proto3" json:"teamName,omitempty"` HasWriteup bool `protobuf:"varint,2,opt,name=hasWriteup,proto3" json:"hasWriteup,omitempty"` Score uint32 `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"` Grade uint32 `protobuf:"varint,4,opt,name=grade,proto3" json:"grade,omitempty"` // contains filtered or unexported fields }
func (*TeamProgress) Descriptor
deprecated
func (*TeamProgress) Descriptor() ([]byte, []int)
Deprecated: Use TeamProgress.ProtoReflect.Descriptor instead.
func (*TeamProgress) GetGrade ¶
func (x *TeamProgress) GetGrade() uint32
func (*TeamProgress) GetHasWriteup ¶
func (x *TeamProgress) GetHasWriteup() bool
func (*TeamProgress) GetScore ¶
func (x *TeamProgress) GetScore() uint32
func (*TeamProgress) GetTeamName ¶
func (x *TeamProgress) GetTeamName() string
func (*TeamProgress) ProtoMessage ¶
func (*TeamProgress) ProtoMessage()
func (*TeamProgress) ProtoReflect ¶
func (x *TeamProgress) ProtoReflect() protoreflect.Message
func (*TeamProgress) Reset ¶
func (x *TeamProgress) Reset()
func (*TeamProgress) String ¶
func (x *TeamProgress) String() string
type UnimplementedAdminServer ¶
type UnimplementedAdminServer struct { }
UnimplementedAdminServer should be embedded to have forward compatible implementations.
func (UnimplementedAdminServer) DeleteChallenge ¶
func (UnimplementedAdminServer) DeleteChallenge(context.Context, *DeleteChallengeRequest) (*Empty, error)
func (UnimplementedAdminServer) ExportChallenge ¶
func (UnimplementedAdminServer) ExportChallenge(context.Context, *chalgen.Node) (*ExportChallengeResponse, error)
func (UnimplementedAdminServer) GetAllChallenges ¶
func (UnimplementedAdminServer) GetAllChallenges(context.Context, *GetAllChallengesRequest) (*GetAllChallengesResponse, error)
func (UnimplementedAdminServer) GetComments ¶
func (UnimplementedAdminServer) GetComments(context.Context, *GetCommentsRequest) (*GetCommentsResponse, error)
func (UnimplementedAdminServer) GetTeamsProgress ¶
func (UnimplementedAdminServer) GetTeamsProgress(context.Context, *GetTeamsProgressRequest) (*GetTeamsProgressResponse, error)
func (UnimplementedAdminServer) GetUserGraph ¶
func (UnimplementedAdminServer) GetUserGraph(context.Context, *GetUserGraphRequest) (*GetUserGraphResponse, error)
func (UnimplementedAdminServer) GetWriteup ¶
func (UnimplementedAdminServer) GetWriteup(context.Context, *GetWriteupRequest) (*GetWriteupResponse, error)
func (UnimplementedAdminServer) ImportChallenge ¶
func (UnimplementedAdminServer) ImportChallenge(context.Context, *ImportChallengeRequest) (*ImportChallengeResponse, error)
func (UnimplementedAdminServer) Readdir ¶
func (UnimplementedAdminServer) Readdir(context.Context, *ReaddirRequest) (*ReaddirResponse, error)
func (UnimplementedAdminServer) Remove ¶
func (UnimplementedAdminServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (UnimplementedAdminServer) SetComputer ¶
func (UnimplementedAdminServer) SetComputer(context.Context, *SetComputerRequest) (*Empty, error)
func (UnimplementedAdminServer) SetHomePage ¶
func (UnimplementedAdminServer) SetHomePage(context.Context, *SetHomePageRequest) (*Empty, error)
func (UnimplementedAdminServer) SubmitComment ¶
func (UnimplementedAdminServer) SubmitComment(context.Context, *SubmitCommentRequest) (*Empty, error)
func (UnimplementedAdminServer) SubmitGrade ¶
func (UnimplementedAdminServer) SubmitGrade(context.Context, *SubmitGradeRequest) (*Empty, error)
func (UnimplementedAdminServer) UpsertChallenge ¶
func (UnimplementedAdminServer) UpsertChallenge(context.Context, *UpsertChallengeRequest) (*Empty, error)
type UnimplementedBackendServer ¶
type UnimplementedBackendServer struct { }
UnimplementedBackendServer should be embedded to have forward compatible implementations.
func (UnimplementedBackendServer) ChallengeType ¶
func (UnimplementedBackendServer) ChallengeType(context.Context, *Empty) (*ChallengeTypeResponse, error)
func (UnimplementedBackendServer) CurrentUser ¶
func (UnimplementedBackendServer) CurrentUser(context.Context, *CurrentUserRequest) (*CurrentUserResponse, error)
func (UnimplementedBackendServer) DeleteCompetition ¶
func (UnimplementedBackendServer) DeleteCompetition(context.Context, *chalgen.Competition) (*Empty, error)
func (UnimplementedBackendServer) ForgotPassword ¶
func (UnimplementedBackendServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*Empty, error)
func (UnimplementedBackendServer) GetCompetitions ¶
func (UnimplementedBackendServer) GetCompetitions(context.Context, *Empty) (*chalgen.CompetitionList, error)
func (UnimplementedBackendServer) GetComputer ¶
func (UnimplementedBackendServer) GetComputer(context.Context, *GetComputerRequest) (*GetComputerResponse, error)
func (UnimplementedBackendServer) GetDiscoveredEvidence ¶
func (UnimplementedBackendServer) GetDiscoveredEvidence(context.Context, *GetDiscoveredEvidenceRequest) (*GetDiscoveredEvidenceResponse, error)
func (UnimplementedBackendServer) GetHomePage ¶
func (UnimplementedBackendServer) GetHomePage(context.Context, *GetHomePageRequest) (*GetHomePageResponse, error)
func (UnimplementedBackendServer) GetUserWriteup ¶
func (UnimplementedBackendServer) GetUserWriteup(context.Context, *Empty) (*GetUserWriteupResponse, error)
func (UnimplementedBackendServer) Login ¶
func (UnimplementedBackendServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedBackendServer) Register ¶
func (UnimplementedBackendServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedBackendServer) SignedURL ¶
func (UnimplementedBackendServer) SignedURL(context.Context, *SignedURLRequest) (*SignedURLResponse, error)
func (UnimplementedBackendServer) SubmitEvidence ¶
func (UnimplementedBackendServer) SubmitEvidence(context.Context, *SubmitEvidenceRequest) (*SubmitEvidenceResponse, error)
func (UnimplementedBackendServer) SubmitEvidenceConnection ¶
func (UnimplementedBackendServer) SubmitEvidenceConnection(context.Context, *SubmitEvidenceConnectionRequest) (*SubmitEvidenceConnectionResponse, error)
func (UnimplementedBackendServer) SubmitEvidenceReport ¶
func (UnimplementedBackendServer) SubmitEvidenceReport(context.Context, *SubmitEvidenceReportRequest) (*SubmitEvidenceReportRequest, error)
func (UnimplementedBackendServer) SubmitFlag ¶
func (UnimplementedBackendServer) SubmitFlag(context.Context, *SubmitFlagRequest) (*SubmitFlagResponse, error)
func (UnimplementedBackendServer) SubmitWriteup ¶
func (UnimplementedBackendServer) SubmitWriteup(context.Context, *SubmitWriteupRequest) (*Empty, error)
func (UnimplementedBackendServer) UpdateCompetition ¶
func (UnimplementedBackendServer) UpdateCompetition(context.Context, *chalgen.Competition) (*chalgen.Competition, error)
type UnsafeAdminServer ¶
type UnsafeAdminServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.
type UnsafeBackendServer ¶
type UnsafeBackendServer interface {
// contains filtered or unexported methods
}
UnsafeBackendServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackendServer will result in compilation errors.
type UpsertChallengeRequest ¶
type UpsertChallengeRequest struct { ChallengeName string `protobuf:"bytes,1,opt,name=challengeName,proto3" json:"challengeName,omitempty"` Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"` // contains filtered or unexported fields }
func (*UpsertChallengeRequest) Descriptor
deprecated
func (*UpsertChallengeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertChallengeRequest.ProtoReflect.Descriptor instead.
func (*UpsertChallengeRequest) GetChallengeName ¶
func (x *UpsertChallengeRequest) GetChallengeName() string
func (*UpsertChallengeRequest) GetFlag ¶
func (x *UpsertChallengeRequest) GetFlag() string
func (*UpsertChallengeRequest) ProtoMessage ¶
func (*UpsertChallengeRequest) ProtoMessage()
func (*UpsertChallengeRequest) ProtoReflect ¶
func (x *UpsertChallengeRequest) ProtoReflect() protoreflect.Message
func (*UpsertChallengeRequest) Reset ¶
func (x *UpsertChallengeRequest) Reset()
func (*UpsertChallengeRequest) String ¶
func (x *UpsertChallengeRequest) String() string