handler

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWeb

func NewWeb(randomize game.GameRandomizer) web

NewWeb is a constructor for creating a new Web handler instance.

Types

type Handler

type Handler interface {
	// Process is a function to execute calls to create random luck numbers.
	Process(*gin.Context)
}

Handler is an interface to support web functions.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is an structure to support the handler.

func NewServer

func NewServer() Server

NewServer create a new instante of Server structure.

func (Server) Start

func (s Server) Start()

Start initialize the router.

Jump to

Keyboard shortcuts

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