types

package
v0.0.0-...-dfb39b5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagResourceType = "corteza::generic:flag"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag struct {
	// Kind of the flagged resource
	Kind string
	// ID if the flagged resource
	ResourceID uint64
	// The owner of this flag; 0 = everyone
	OwnedBy uint64

	Name   string
	Active bool
}

type FlagFilter

type FlagFilter struct {
	Kind       string
	ResourceID []uint64
	OwnedBy    []uint64
	Name       []string
	Limit      uint
}

type FlagSet

type FlagSet []*Flag

@todo codegen this thing

Jump to

Keyboard shortcuts

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