entitymenu

package
v0.0.0-...-2a611ce Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Menu struct {
	ID       *uint
	MenuName *string
	Title    *string
	Priority *uint
	Tooltip  *string
	Icon     *string
	Group    *uint
	Parent   *uint
	State    *uint
	UiUrl    *string
}

type Services

type Services interface {
	GetMenus(ctx context.Context) ([]Menu, error)
	NewMenu(ctx context.Context, inputMenu Menu) error
	EditMenu(ctx context.Context, newMenu Menu) (Menu, error)
	FindMenu(ctx context.Context, MenuID uint) (Menu, error)
	FindMenuByMenuName(ctx context.Context, MenuName string) (Menu, error)
	DeleteMenu(ctx context.Context, MenuID uint) error
}

Jump to

Keyboard shortcuts

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