v2

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

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

Go to latest
Published: Jan 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jam

type Jam struct {
	// Public name of the Jam.
	Name string `json:"name,omitempty"`
	// Owning user of the Jam. (not implemented yet)
	Owner *User `json:"owner,omitempty"`
	// Max number of Jam participants.
	Capacity uint `json:"capacity,omitempty"`
	// Beats per minute. Used for setting the tempo of MIDI playback.
	BPM uint `json:"bpm,omitempty"`
}

type Service

type Service struct {
	service.Service
}

func NewService

func NewService(ctx context.Context, mux chi.Router) *Service

type User

type User struct {
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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