dto

package
v0.0.0-...-02a6cbf Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LpHits     = "LpHits"
	VideoPlays = "VideoPlays"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	RecipientID int64  `json:"recipient_id"`
	VideoID     int64  `json:"video_id"`
	EventType   string `json:"event_type"`
}

Event is a data transfer object used in REST

func (*Event) ValidateEventType

func (e *Event) ValidateEventType() error

ValidateEventType is a method used to validate event type

Jump to

Keyboard shortcuts

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