server

package
v0.0.0-...-3ece076 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() error

func SetupRouter

func SetupRouter() *gin.Engine

Types

type HatchRequest

type HatchRequest struct {
	Egg string `json:"egg" binding: "required"`
}

type HatchResponse

type HatchResponse struct {
	Secret string `json:"secret"`
}

type ProtectRequest

type ProtectRequest struct {
	Message string `json:"message" binding: "required"`
}

Jump to

Keyboard shortcuts

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