api

package
v0.0.0-...-fcc4a6d Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller holds all the variables needed for routes to perform their logic

func New

func New(db *gorm.DB, c config.Config, bundle *i18n.Bundle) Controller

New creates a new instance of the routes.Controller

func (Controller) Whois

func (controller Controller) Whois(c *gin.Context)

type WhoisRequest

type WhoisRequest struct {
	Domain string `json:"domain"`
}

type WhoisResponse

type WhoisResponse struct {
	whois.Whois
}

Jump to

Keyboard shortcuts

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