frontend

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApp

func RegisterApp(
	router *mux.Router,
	config Config,
	db *gorm.DB,
	logger Logger,
	errorHandler ErrorHandler,
) error

RegisterApp returns a new HTTP application.

Types

type Config

type Config struct{}

Config contains configuration required by the frontend application.

func (Config) Validate

func (c Config) Validate() error

Validate validates the configuration.

type ErrorHandler

type ErrorHandler = common.ErrorHandler

ErrorHandler handles an error.

type Logger

type Logger = common.Logger

Logger is the fundamental interface for all log operations.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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