Documentation
¶
Index ¶
- func Add() []any
- type User
- func (u *User) AllowedRoles(action byte) []byte
- func (u *User) Create(payload any) (any, error)
- func (u *User) Delete(id string) error
- func (u *User) HandlerName() string
- func (u *User) List() (any, error)
- func (u *User) Read(id string) (any, error)
- func (u *User) Update(payload any) (any, error)
- func (u *User) ValidateData(action byte, payload any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type User ¶
User is the shared model between backend and frontend
func (*User) AllowedRoles ¶ added in v0.2.1
func (*User) HandlerName ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.