http

package
v0.0.0-...-febeaf7 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseModule = fx.Provide(
	NewServer,
)

Functions

func RegisterRoutes

func RegisterRoutes(router *gin.Engine, server *Server)

Types

type Server

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

func NewServer

func NewServer(
	workflowEngine *workflow.Engine,
	wordRepository word.Repository,
	wordleRepository wordle.Repository,
) *Server

func (Server) CreateWordle

func (s Server) CreateWordle(ctx *gin.Context)

func (Server) DeleteWordle

func (s Server) DeleteWordle(ctx *gin.Context)

func (Server) GetWordle

func (s Server) GetWordle(ctx *gin.Context)

func (Server) ListWordles

func (s Server) ListWordles(ctx *gin.Context)

func (Server) UpdateWordle

func (s Server) UpdateWordle(ctx *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳