httpcontroller

package
v0.0.0-...-08671e0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeClient

func AuthorizeClient() func(*fiber.Ctx) error

func GetStatus

func GetStatus() func(*fiber.Ctx) error

func PostUpdate

func PostUpdate(updatePublisher UpdatePublisher) func(*fiber.Ctx) error

Types

type UpdatePublisher

type UpdatePublisher interface {
	PublishUpdate(username string, ip netip.Addr) error
}

Jump to

Keyboard shortcuts

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