controller

package
v0.0.0-...-15f6f3f Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 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 ChallengeController

type ChallengeController interface {
	GetImagesChallenge(number int, label string) (string, [][]byte, string, error)
	GetAlphanumericChallenge(length int, size int) (string, []byte, string, error)
	GetQuestionsChallenge(number int, label string) (string, []string, error)
	SolveChallenge(sessionID string, answer []string) error
}

func NewChallengeController

func NewChallengeController(
	sessionRepo repo.SessionRepo, questionsRepo repo.ChallengeQuestionsRepo) ChallengeController

Jump to

Keyboard shortcuts

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