Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Award ¶
type Award struct {
User int `json:"user_id" yaml:"-"`
Name string `json:"name" yaml:"name"`
Description string `json:"description,omitempty" yaml:"description"`
Value int `json:"value" yaml:"value"`
Category string `json:"category" yaml:"category"`
Icon string `json:"icon,omitempty" yaml:"icon"`
}
Award contains the fields needed to inform the CTFd API of awarded points.
type Configuration ¶
Configuration is the root object defined in the configuration file.
func (*Configuration) Check ¶
func (c *Configuration) Check() error
Check if the configuration state seems credible.
Click to show internal directories.
Click to hide internal directories.