controllers

package
v0.0.0-...-ce0b364 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Name string `json:"name"`
	Type int    `json:"type"`
	TTL  int    `json:"TTL"`
	Data string `json:"data"`
}

type DNSResponse

type DNSResponse struct {
	Status    int        `json:"Status"`
	TC        bool       `json:"TC"`
	RD        bool       `json:"RD"`
	RA        bool       `json:"RA"`
	AD        bool       `json:"AD"`
	CD        bool       `json:"CD"`
	Questions []Question `json:"Question"`
	Answer    []Answer   `json:"Answer"`
}

DNSResponse is dns over https packet for json

type Question

type Question struct {
	Name string `json:"name"`
	Type int    `json:"type"`
}

type XinController

type XinController struct{}

XinController hi.

func (XinController) DNSQuery

func (t XinController) DNSQuery(c *gin.Context)

DNSQuery hi.

func (XinController) NotFound

func (t XinController) NotFound(c *gin.Context)

NotFound hi.

Jump to

Keyboard shortcuts

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