api

package
v0.0.0-...-1e8465d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(playerStore core.PlayerStore, sourceStore SourceStore) *Server

func (*Server) GetPlayersIdQr

func (s *Server) GetPlayersIdQr(c echo.Context, id int64) error

func (*Server) GetSourcesIdSlug

func (s *Server) GetSourcesIdSlug(c echo.Context, id int64, slug string) error

type SourceStore

type SourceStore interface {
	GetFileSource(ctx context.Context, id int64) (core.FileSource, error)
}

Jump to

Keyboard shortcuts

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