xpb

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 12 Imported by: 7

README

XPB

A pocketbase builder inspired by xcaddy and xpocketbase.

Documentation

https://docs.pocketbuilds.com

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitPlugins

func InitPlugins(app core.App) error

func LoadConfig

func LoadConfig(app core.App) (err error)

func PreValidatePlugins

func PreValidatePlugins(app core.App) error

func Register

func Register(plugin Plugin)

func Setup

func Setup(app core.App) error

func ValidatePlugins

func ValidatePlugins(app core.App) error

func Version

func Version() string

Types

type Plugin

type Plugin interface {
	Init(app core.App) error
	Name() string
	Version() string
	Description() string
}

func GetPlugins

func GetPlugins() []Plugin

type PreValidator

type PreValidator interface {
	PreValidate(app core.App) error
}

Jump to

Keyboard shortcuts

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