plugin

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	SpecMap map[string]*spec.ApiSpec
}

type Desc

type Desc struct {
	Api   Api
	Proto Proto
	Model Model
}

type Metadata

type Metadata struct {
	Desc   Desc
	Plugin Plugin // serverless plugin
}

func New

func New() (*Metadata, error)

New creates a new pzero cmd plugin with parsed API, Proto, and SQL specifications

type Model

type Model struct {
	SpecMap map[string]*ddlparser.Table
}

type Plugin

type Plugin struct {
	Name string
	Desc Desc
}

type Proto

type Proto struct {
	SpecMap map[string]*rpcparser.Proto
}

Jump to

Keyboard shortcuts

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