bookmarks

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const LAST_UPDATED_FORMAT string = "2006-01-02T15:04:05.000Z"

Variables

This section is empty.

Functions

func Register

func Register(
	xbsctx *lib.XBSContext,
	fiberRouter *fiber.Router,
)

Types

type BookmarkCreateModel

type BookmarkCreateModel struct {
	Version string `json:"version" validate:"required"`
}

type BookmarkCreateResponse

type BookmarkCreateResponse struct {
	Success  bool               `json:"success"`
	Bookmark *BookmarkShowModel `json:"bookmark"`
	Message  string             `json:"message"`
}

type BookmarkShowModel

type BookmarkShowModel struct {
	ID          string `json:"id,omitempty"`
	Bookmarks   string `json:"bookmarks,omitempty"`
	LastUpdated string `json:"lastUpdated,omitempty"`
	Version     string `json:"version,omitempty"`
}

type BookmarkShowResponse

type BookmarkShowResponse struct {
	Success  bool               `json:"success"`
	Bookmark *BookmarkShowModel `json:"bookmark"`
	Message  string             `json:"message"`
}

type BookmarkUpdateModel

type BookmarkUpdateModel struct {
	Bookmarks   string `json:"bookmarks" validate:"required"`
	LastUpdated string `json:"lastUpdated" validate:"required"`
}

type BookmarkUpdateResponse

type BookmarkUpdateResponse struct {
	Success  bool               `json:"success"`
	Bookmark *BookmarkShowModel `json:"bookmark"`
	Message  string             `json:"message"`
}

Jump to

Keyboard shortcuts

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