api

package
v0.0.0-...-2c8f587 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 47 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BroadcastChannels = sync.Map{}
)

Functions

func SQL

func SQL(c *gin.Context)

func ServeAPI

func ServeAPI(ginServer *gin.Engine)

Types

type Channel

type Channel struct {
	Name  string `json:"name"`
	Count int    `json:"count"`
}

type DocFile

type DocFile struct {
	ID       string     `json:"id"`
	Children []*DocFile `json:"children,omitempty"`
}

type File

type File struct {
	Filename string
	Header   textproto.MIMEHeader
	Size     int64
	Content  string
}

type MultipartForm

type MultipartForm struct {
	Value map[string][]string
	File  map[string][]File
}

type Workspace

type Workspace struct {
	Path   string `json:"path"`
	Closed bool   `json:"closed"`
}

Jump to

Keyboard shortcuts

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