permit_dto

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.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 Grant

type Grant = permit_type.Target

type Option

type Option = Grant

func SearchOptions

func SearchOptions(ops []*Option, keyword string) []*Option

type Permission

type Permission struct {
	Access      string   `json:"access"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Grant       []*Grant `json:"grant"`
}

type SetGrant

type SetGrant struct {
	Access string `json:"access"`
	Key    string `json:"key"`
}

Jump to

Keyboard shortcuts

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