about summary refs log tree commit diff
path: root/src/structs.go
blob: 84fe6d91388090e16a6ccf5e6b40a9ecfae99373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

// Challenge defines a challenge as in the original companion.json format
type Challenge struct {
	UUID        string
	Name        string
	Description string
	Flag        string
	Container   string
	Category    string
	Points      int
	Static      bool
}

// Challenges defines a list of challenges.
type Challenges struct {
	Challenge []Challenge
}