api

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App hods the singletons and use cases

func NewApp

func NewApp(cfg *config.Configuration) (*App, error)

NewApp initializes and returns an App instance

func (*App) Run

func (a *App) Run()

Run does the heavy-lifting for the App

type CustomValidator

type CustomValidator struct {
	// contains filtered or unexported fields
}

CustomValidator provides a validator implementation for echo

func (*CustomValidator) Validate

func (cv *CustomValidator) Validate(i interface{}) error

Validate checks to see if the object satisfies validation annotations

Jump to

Keyboard shortcuts

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