gocatgo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 13 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 {
	DB             *gorm.DB
	Host           string
	Alphabet       string
	BinaryFilename string
	Database       Database
}

func (*App) Fetch

func (app *App) Fetch(w http.ResponseWriter, r *http.Request)

func (*App) GetSha256 added in v0.0.3

func (app *App) GetSha256() [32]byte

func (*App) Home

func (app *App) Home(w http.ResponseWriter, r *http.Request)

func (*App) Run

func (app *App) Run() error

func (*App) Sha256

func (app *App) Sha256(w http.ResponseWriter, r *http.Request)

func (*App) Upload

func (app *App) Upload(w http.ResponseWriter, r *http.Request)

type Database

type Database struct {
	Host     string
	User     string
	Password string
	Name     string
	Port     string
}

Jump to

Keyboard shortcuts

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