api

package
v0.1.4-0...-01a136e Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: ISC Imports: 18 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 {
	// contains filtered or unexported fields
}

func New

func New(db *sql.DB, m *minecraft.Manager) API

func (*API) Start

func (api *API) Start() error

type Backup

type Backup struct {
	Time int64  `json:"time"`
	URL  string `json:"url"`
	Size int64  `json:"size"`
}

type Server

type Server struct {
	ServerId int64  `json:"serverId"`
	OwnerId  int64  `json:"ownerId"`
	Name     string `json:"name"`
	State    string `json:"state"`
}

Jump to

Keyboard shortcuts

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