rpc

package
v1.0.0-rc17 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOutboundIP

func GetOutboundIP() (net.IP, error)

GetOutboundIP gets the local ip.

func RegisterAI

func RegisterAI(route *echo.Group, db database.Database)

func RegisterCloud

func RegisterCloud(route *echo.Group, db database.Database)

func RegisterEntry

func RegisterEntry(route *echo.Group, db database.Database)

func RegisterFileBrowser

func RegisterFileBrowser(route *echo.Group)

func RegisterGenerator added in v0.5.0

func RegisterGenerator(route *echo.Group, extern *echo.Group, db database.Database)

func RegisterGit added in v0.6.0

func RegisterGit(route *echo.Group, db database.Database)

func RegisterImageUtilities

func RegisterImageUtilities(route *echo.Group)

RegisterImageUtilities registers all image utilities.

func RegisterKeyValue

func RegisterKeyValue(route *echo.Group, db database.Database)

func RegisterPrint

func RegisterPrint(route *echo.Group, extern *echo.Group, db database.Database, printer printing.PossiblePrinter)

func RegisterSettings

func RegisterSettings(route *echo.Group, db database.Database)

func RegisterSources

func RegisterSources(route *echo.Group, db database.Database)

func RegisterSync

func RegisterSync(route *echo.Group, m *melody.Melody, db database.Database)

func RegisterTemplate

func RegisterTemplate(route *echo.Group, extern *echo.Group, db database.Database)

func RegisterVersion

func RegisterVersion(route *echo.Group)

RegisterVersion registers the version rpc endpoints.

Types

type GitHubCommit

type GitHubCommit struct {
	Sha string `json:"sha"`
	URL string `json:"url"`
}

GitHubCommit represents a GitHub commit.

type GitHubTag

type GitHubTag struct {
	Name       string       `json:"name"`
	ZipballURL string       `json:"zipball_url"`
	TarballURL string       `json:"tarball_url"`
	Commit     GitHubCommit `json:"commit"`
	NodeID     string       `json:"node_id"`
}

GitHubTag represents a GitHub tag.

type GitHubTags added in v0.6.2

type GitHubTags []GitHubTag

GitHubTags represents a list of GitHub tags.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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