protocols

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL