getawardsinfo

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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