support

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSupport

func NewSupport(session *session.Store, validate *validator.Validate, translator *ut.Translator) *support

Types

type MessageType

type MessageType string
const (
	MessageTypeInfo    MessageType = "info"
	MessageTypeError   MessageType = "error"
	MessageTypeWarning MessageType = "warning"
	MessageTypeSuccess MessageType = "success"
)

type Refiber

type Refiber interface {
	GetSessionStore() *session.Store
	GetValidator() *validator.Validate
	GetTranslator() *ut.Translator

	Render(*fiber.Ctx) *render
	Redirect(*fiber.Ctx) *redirect
	Auth(*fiber.Ctx) *auth
	SharedData(*fiber.Ctx) *sharedData
	Validation(*fiber.Ctx) *validation
}

type ValidationErrorField

type ValidationErrorField struct {
	Name    string
	Message string
}

Jump to

Keyboard shortcuts

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