sitehandler

package
v0.0.0-...-52377f7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(db *gorm.DB) *fiber.App

Types

type CreateSiteInput

type CreateSiteInput struct {
	Url string `json:"url" validate:"required,url"`
}

type SiteHandler

type SiteHandler struct {
	App *fiber.App
	DB  *gorm.DB
}

type UpdateSiteInput

type UpdateSiteInput struct {
	Url string `json:"url" validate:"required,url"`
}

Jump to

Keyboard shortcuts

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