Documentation ¶
Index ¶
- type Admin
- func (s *Admin) DeleteChallenge(ctx context.Context, req *connect.Request[xctf.DeleteChallengeRequest]) (*connect.Response[xctf.Empty], error)
- func (s *Admin) ExportChallenge(ctx context.Context, c *connect.Request[chalgen.Node]) (*connect.Response[xctf.ExportChallengeResponse], error)
- func (s *Admin) GetAllChallenges(ctx context.Context, request *connect.Request[xctf.GetAllChallengesRequest]) (*connect.Response[xctf.GetAllChallengesResponse], error)
- func (s *Admin) GetComments(ctx context.Context, request *connect.Request[xctf.GetCommentsRequest]) (*connect.Response[xctf.GetCommentsResponse], error)
- func (s *Admin) GetTeamsProgress(ctx context.Context, request *connect.Request[xctf.GetTeamsProgressRequest]) (*connect.Response[xctf.GetTeamsProgressResponse], error)
- func (s *Admin) GetUserGraph(ctx context.Context, request *connect.Request[xctf.GetUserGraphRequest]) (*connect.Response[xctf.GetUserGraphResponse], error)
- func (s *Admin) GetWriteup(ctx context.Context, request *connect.Request[xctf.GetWriteupRequest]) (*connect.Response[xctf.GetWriteupResponse], error)
- func (s *Admin) ImportChallenge(ctx context.Context, c *connect.Request[xctf.ImportChallengeRequest]) (*connect.Response[xctf.ImportChallengeResponse], error)
- func (s *Admin) Readdir(ctx context.Context, c *connect.Request[xctf.ReaddirRequest]) (*connect.Response[xctf.ReaddirResponse], error)
- func (s *Admin) Remove(ctx context.Context, c *connect.Request[xctf.RemoveRequest]) (*connect.Response[xctf.RemoveResponse], error)
- func (s *Admin) SetComputer(ctx context.Context, c *connect.Request[xctf.SetComputerRequest]) (*connect.Response[xctf.Empty], error)
- func (s *Admin) SetHomePage(ctx context.Context, request *connect.Request[xctf.SetHomePageRequest]) (*connect.Response[xctf.Empty], error)
- func (s *Admin) SubmitComment(ctx context.Context, request *connect.Request[xctf.SubmitCommentRequest]) (*connect.Response[xctf.Empty], error)
- func (s *Admin) SubmitGrade(ctx context.Context, request *connect.Request[xctf.SubmitGradeRequest]) (*connect.Response[xctf.Empty], error)
- func (s *Admin) UpsertChallenge(ctx context.Context, req *connect.Request[xctf.UpsertChallengeRequest]) (*connect.Response[xctf.Empty], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct {
// contains filtered or unexported fields
}
func (*Admin) DeleteChallenge ¶
func (*Admin) ExportChallenge ¶
func (*Admin) GetAllChallenges ¶
func (s *Admin) GetAllChallenges(ctx context.Context, request *connect.Request[xctf.GetAllChallengesRequest]) (*connect.Response[xctf.GetAllChallengesResponse], error)
func (*Admin) GetComments ¶
func (s *Admin) GetComments(ctx context.Context, request *connect.Request[xctf.GetCommentsRequest]) (*connect.Response[xctf.GetCommentsResponse], error)
func (*Admin) GetTeamsProgress ¶
func (s *Admin) GetTeamsProgress(ctx context.Context, request *connect.Request[xctf.GetTeamsProgressRequest]) (*connect.Response[xctf.GetTeamsProgressResponse], error)
func (*Admin) GetUserGraph ¶
func (s *Admin) GetUserGraph(ctx context.Context, request *connect.Request[xctf.GetUserGraphRequest]) (*connect.Response[xctf.GetUserGraphResponse], error)
func (*Admin) GetWriteup ¶
func (s *Admin) GetWriteup(ctx context.Context, request *connect.Request[xctf.GetWriteupRequest]) (*connect.Response[xctf.GetWriteupResponse], error)
func (*Admin) ImportChallenge ¶
func (s *Admin) ImportChallenge(ctx context.Context, c *connect.Request[xctf.ImportChallengeRequest]) (*connect.Response[xctf.ImportChallengeResponse], error)
func (*Admin) Readdir ¶
func (s *Admin) Readdir(ctx context.Context, c *connect.Request[xctf.ReaddirRequest]) (*connect.Response[xctf.ReaddirResponse], error)
func (*Admin) Remove ¶
func (s *Admin) Remove(ctx context.Context, c *connect.Request[xctf.RemoveRequest]) (*connect.Response[xctf.RemoveResponse], error)
func (*Admin) SetComputer ¶
func (*Admin) SetHomePage ¶
func (*Admin) SubmitComment ¶
func (*Admin) SubmitGrade ¶
func (*Admin) UpsertChallenge ¶
Click to show internal directories.
Click to hide internal directories.