php

package
v0.0.0-...-fd00b2c Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	config.Config

	StatusValue *util.Value[radio.Status]
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(ctx context.Context, cfg config.Config, storage radio.StorageService,
	streamer radio.StreamerService, statusValue *util.Value[radio.Status]) (*API, error)

func (*API) RequestRoute

func (a *API) RequestRoute(r chi.Router)

RequestRoute is the router setup for handling requests

func (*API) Route

func (a *API) Route(r chi.Router)

Jump to

Keyboard shortcuts

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