Documentation ¶ Index ¶ type Handler func NewHandler(awardRecordRepository award.RecordRepository) *Handler func (h *Handler) HandleGET(c echo.Context) error type RecordDTO func EncodeRecord(record award.Record) RecordDTO func EncodeRecords(records []award.Record) []RecordDTO Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Handler ¶ type Handler struct { // contains filtered or unexported fields } func NewHandler ¶ func NewHandler(awardRecordRepository award.RecordRepository) *Handler func (*Handler) HandleGET ¶ func (h *Handler) HandleGET(c echo.Context) error type RecordDTO ¶ type RecordDTO struct { Award uint32 Level uint64 When uint32 First uint32 } func EncodeRecord ¶ func EncodeRecord(record award.Record) RecordDTO func EncodeRecords ¶ func EncodeRecords(records []award.Record) []RecordDTO Source Files ¶ View all Source files dto.gohandler.go Click to show internal directories. Click to hide internal directories.