Documentation
¶
Overview ¶
Package api provides functions to interact with the CookieFarm server API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶
func GetConfig() (models.ConfigShared, error)
GetConfig retrieves the configuration from the CookieFarm server API.
func SubmitBatchDirect ¶
func SubmitBatchDirect(flags []models.ClientData) (string, error)
SubmitBatchDirect sends a batch of flags directly to the CookieFarm server API.
@IMPORTANT: I do not raccomend using this function, use websockets instead.
func SubmitDirect ¶
func SubmitDirect(flag models.ClientData) (string, error)
SubmitDirect sends a single flag directly to the CookieFarm server API.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.