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
}
Click to show internal directories.
Click to hide internal directories.