services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

func Redirect

func Redirect(c *gin.Context)

func Report

func Report(c *gin.Context)

func Track

func Track(c *gin.Context)

Types

type CreateBody

type CreateBody struct {
	URL string
}

type ReportBody

type ReportBody struct {
	Message string
}

type Reports

type Reports struct {
	Message string `bson:"message"`
}

type URLs added in v1.0.1

type URLs struct {
	URL    string `bson:"url"`
	ID     string `bson:"id"`
	Create string `bson:"create"`
}

Jump to

Keyboard shortcuts

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