nativeapi

package
v0.52.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	http.Handler
	// contains filtered or unexported fields
}

func New

func New(ds model.DataStore, share core.Share, playlists core.Playlists) *Router

func (*Router) R

func (n *Router) R(r chi.Router, pathPrefix string, model interface{}, persistable bool)

func (*Router) RX

func (n *Router) RX(r chi.Router, pathPrefix string, constructor rest.RepositoryConstructor, persistable bool)

Jump to

Keyboard shortcuts

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