handlers

package
v0.0.0-...-c0c3aec Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryHandler

func QueryHandler(c *gin.Context)

QueryHandler handles the request and returns all needed stuff

Types

type Response

type Response struct {
	IP       []string `json:"ip"`
	TXT      []string `json:"txt,omitempty"`
	NS       []string `json:"ns,omitempty"`
	Hostname string   `json:"hostname,omitempty"`
}

Response is used for the response

Jump to

Keyboard shortcuts

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