Documentation ¶
Index ¶
- func ListenForWebSocket(conn *WebSocketConnection)
- func ListenToWebSocketChannel()
- type AddParticipantRaffleRequest
- type AddTicketParticipantRaffleRequest
- type CreateRaffleRequest
- type DeleteParticipantRaffleRequest
- type GetRaffleByIdRequest
- type RaffleByIdRequest
- type Server
- type WebSocketConnection
- type WebSocketPayload
- type WebSocketResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenForWebSocket ¶
func ListenForWebSocket(conn *WebSocketConnection)
func ListenToWebSocketChannel ¶
func ListenToWebSocketChannel()
Types ¶
type AddParticipantRaffleRequest ¶
type AddParticipantRaffleRequest struct { RaffleID string `json:"raffle_id" binding:"required"` Participant core.RaffleParticipant `json:"participant" binding:"required"` }
type CreateRaffleRequest ¶
type GetRaffleByIdRequest ¶
type GetRaffleByIdRequest struct {
Id string `uri:"id" binding:"required"`
}
type RaffleByIdRequest ¶
type RaffleByIdRequest struct {
RaffleId string `json:"raffle_id" binding:"required"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) MelSuggest ¶
func (*Server) TicketSuggest ¶
func (*Server) WebSocketEndpoint ¶
type WebSocketConnection ¶
type WebSocketPayload ¶
type WebSocketPayload struct { Action string `json:"action"` Username string `json:"username"` Message string `json:"Message"` Conn WebSocketConnection `json:"-"` }
Click to show internal directories.
Click to hide internal directories.