server

package
v0.0.0-...-770125b Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(db database.Database, malAPI malicious.API) error

Types

type JsonError

type JsonError struct {
	StatusCode int
	Msg        string
}

type RedirectReq

type RedirectReq struct {
	Url string `json:"url"`
}

type RedirectResp

type RedirectResp struct {
	Slug string `json:"slug"`
	Url  string `json:"url"`
}

Jump to

Keyboard shortcuts

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