handlers

package
v0.0.0-...-d26b62e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SlotGameName = "Slot"

Variables

This section is empty.

Functions

This section is empty.

Types

type SlotServer

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

func NewSlotServer

func NewSlotServer(logger *zap.SugaredLogger, gameProvider *logic.GameProvider, userService protos.UserServiceClient, bankService *bank.RabbitBankConnection) *SlotServer

func (*SlotServer) CryptoInfo

func (s *SlotServer) CryptoInfo(rw http.ResponseWriter, r *http.Request)

func (*SlotServer) Spin

func (s *SlotServer) Spin(rw http.ResponseWriter, r *http.Request)

POST request Spin: draws a new number and returns the result and prove.

type SpinRequestDTO

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

Jump to

Keyboard shortcuts

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