quest

package
v0.0.117 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGET

func HandleGET(c *gin.Context)

func HandlePOST

func HandlePOST(c *gin.Context)

func RegisterHandler

func RegisterHandler(key string, questID string, handler Handler)

Types

type Handler

type Handler interface {
	Handle(ctx context.Context, userAddress string) (bool, error)
}

func GetHandler

func GetHandler(key string, questID string) (Handler, bool)

Jump to

Keyboard shortcuts

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