user

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add() []any

Types

type User

type User struct {
	ID   int
	Name string
}

func (*User) AllowedRoles

func (u *User) AllowedRoles(action byte) []byte

func (*User) DisplayName

func (u *User) DisplayName() string

func (*User) HandlerName

func (u *User) HandlerName() string

func (*User) Read

func (u *User) Read(data ...any) any

func (*User) ValidateData

func (u *User) ValidateData(action byte, data ...any) error

Jump to

Keyboard shortcuts

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