plugins

package
v0.0.0-...-d885e2b Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Call

func Call(c *gin.Context)

Call used for call plugins backend

Types

type Obj

type Obj interface {
	Action(map[string]interface{}) (map[string]interface{}, error)
}

Obj used for replicate plugin object

type PluginParam

type PluginParam struct {
	Extension string `form:"extension" binding:"required"`
	Type      string `form:"type" binding:"required"`
	Handle    string `form:"handle" binding:"required"`
	Data      map[string]string
}

PluginParam used as parameter plugin

type Plugins

type Plugins struct {
	crud.Settings
	crud.Extension
}

Plugins used as crud object

Jump to

Keyboard shortcuts

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