api

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

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

Handlers ...

func New

func New(repo domain.Repository) *Handlers

New returns new Handlers.

func (*Handlers) GetServer

func (h *Handlers) GetServer(ctx context.Context, params api.GetServerParams) (api.GetServerRes, error)

GetServer ...

func (*Handlers) ListMultiplayerSummaries

func (h *Handlers) ListMultiplayerSummaries(ctx context.Context, params api.ListMultiplayerSummariesParams) ([]api.MultiplayerSummary, error)

ListMultiplayerSummaries ...

func (*Handlers) ListServerStatistics

func (h *Handlers) ListServerStatistics(ctx context.Context, params api.ListServerStatisticsParams) (api.ListServerStatisticsRes, error)

ListServerStatistics ...

func (*Handlers) ListServerSummaries

func (h *Handlers) ListServerSummaries(ctx context.Context, params api.ListServerSummariesParams) (api.ListServerSummariesRes, error)

ListServerSummaries ...

Jump to

Keyboard shortcuts

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