Help us shape the future of Go! Take the 2026 Go Developer Survey

db

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorDB

type AuthorDB struct {
	ID        string
	Name      *string
	ColorId   int
	PadIDs    map[string]struct{}
	Timestamp int64
}

type ChangesetDB

type ChangesetDB struct {
	OldLen   int
	NewLen   int
	Ops      string
	CharBank string
}

type ChangesetMeta

type ChangesetMeta struct {
	AuthorId  string
	Timestamp int
}

type ChatMessageDB

type ChatMessageDB struct {
	ID       string
	PadId    string
	AuthorId *string
}

type PadDB

type PadDB struct {
	RevNum         int                 `json:"head"`
	SavedRevisions map[int]PadRevision `json:"savedRevisions"`
	ReadOnlyId     string              `json:"readOnlyId"`
	Pool           apool.APool         `json:"pool"`
	ChatHead       int                 `json:"chatHead"`
	PublicStatus   bool                `json:"publicStatus"`
	AText          apool.AText         `json:"atext"`
}

type PadDBMeta

type PadDBMeta struct {
	Author    *string
	Timestamp int
	Pool      *apool.APool
	AText     *apool.AText
}

type PadMetaData

type PadMetaData struct {
	Id           string
	RevNum       int
	ChangeSet    string
	Atext        apool.AText
	AtextAttribs string
	AuthorId     *string
	Timestamp    int
}

type PadRevision

type PadRevision struct {
	Content   string
	PadDBMeta PadDBMeta
}

type PadSingleRevision

type PadSingleRevision struct {
	PadId     string
	RevNum    int
	Changeset string
	AText     apool.AText
	AuthorId  *string
	Timestamp int
}

type RevisionDB

type RevisionDB struct {
	RevNum int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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