Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Types ¶
type Conversation ¶
type EventPayload ¶
func (EventPayload) Scan ¶
func (p EventPayload) Scan(src interface{}) error
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func (*Hub) ConnectClient ¶
type PacketPayload ¶
type PacketPayload struct {
Type string `json:"type"`
Data interface{} `json:"data"`
}
func CreatePacketPayload ¶
func CreatePacketPayload(pk packet.Packet) PacketPayload
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *gorm.DB) (*Repository, error)
func (*Repository) AddEvent ¶
func (r *Repository) AddEvent(event *Event) error
Click to show internal directories.
Click to hide internal directories.