Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseProtocol ¶
type ResponseProtocol struct {
Status string `json:"status"` // Status of the response (e.g., "success", "error")
Flag string `json:"flag"` // Flag string received from the flag checker service
Msg string `json:"msg"` // Message from the flag checker service
}
ResponseProtocol represents a response from the flag checker service.
type SubmitFunc ¶
type SubmitFunc = func(string, string, []string) ([]ResponseProtocol, error)
func LoadProtocol ¶
func LoadProtocol(protocolName string) (SubmitFunc, error)
Click to show internal directories.
Click to hide internal directories.