Documentation ¶
Index ¶
- Constants
- type Actions
- func (a *Actions) Exploit(serviceName string)
- func (a *Actions) Get(serviceName string)
- func (a *Actions) NewRound()
- func (a *Actions) Ping(serviceName string)
- func (a *Actions) Put(serviceName string)
- func (a *Actions) Run()
- func (a *Actions) SaveRoundEvents()
- func (a *Actions) StartManager(ticker *time.Ticker)
- func (a *Actions) UpdatePlaces()
- func (a *Actions) UpdateServicesStatus()
- type Host
Constants ¶
View Source
const ( // services ServiceOk = 1 Mumbled = 0 Unreacheble = -1 // exploits Exploitable = 1 Safety = 0 NotSet = -1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct { Scenario *scenario.Scenario DB *gorm.DB Cache *storage.Cache ChckerClient pb.CheckerClient RoundInfo map[int]managerModels.RoundInfo CurrentRound int }
func (*Actions) SaveRoundEvents ¶
func (a *Actions) SaveRoundEvents()
func (*Actions) StartManager ¶
func (*Actions) UpdatePlaces ¶
func (a *Actions) UpdatePlaces()
func (*Actions) UpdateServicesStatus ¶
func (a *Actions) UpdateServicesStatus()
Click to show internal directories.
Click to hide internal directories.