types

package
v0.0.0-...-b20cf72 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclAction

type AclAction struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type AclModule

type AclModule struct {
	Name        string        `json:"name"`
	Description string        `json:"description"`
	Resources   []AclResource `json:"resources"`
}

type AclResource

type AclResource struct {
	Name        string      `json:"name"`
	Description string      `json:"description"`
	Actions     []AclAction `json:"actions"`
}

type DatabaseConnFunc

type DatabaseConnFunc func() gorm.Dialector

type InitModuleRoutes

type InitModuleRoutes func(e *echo.Echo)

type ModuleConfig

type ModuleConfig struct {
	Acl    []AclModule
	Models []interface{}
	Routes []InitModuleRoutes
}

Jump to

Keyboard shortcuts

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