handlers

package
v0.1.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Author xc, Created on 2019-05-11 22:04 {COPYRIGHTS}

Package handlers implements build-in action callbacks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserHandler

type UserHandler struct {
}

func (UserHandler) ValidateCreate

func (uh UserHandler) ValidateCreate(ctx context.Context, inputs handler.InputMap, parentID int) (bool, handler.ValidationResult)

func (UserHandler) ValidateUpdate

func (uh UserHandler) ValidateUpdate(ctx context.Context, inputs handler.InputMap, content contenttype.ContentTyper) (bool, handler.ValidationResult)

Jump to

Keyboard shortcuts

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