handlers

package
v0.0.0-...-30c74c2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseServerCheck

func UseServerCheck(g *gin.RouterGroup, outputFile *os.File)

Types

type ServerCheck

type ServerCheck struct {
	Domain    string             `json:"domain"`
	IP        []net.IP           `json:"ip_addresses"`
	Results   []*SingleHostCheck `json:"results"`
	Error     *string            `json:"error"`
	Timestamp string             `json:"timestamp"`
}

type ServerCheckParams

type ServerCheckParams struct {
	Server   string `form:"server" binding:"required"`
	Protocol string
}

type SingleHostCheck

type SingleHostCheck struct {
	Domain         string         `json:"-"`
	IP             string         `json:"ip"`
	HasTLS         bool           `json:"has_tls"`
	DHParams       *ztls.DHParams `json:"dh_params"`
	ExportDHParams *ztls.DHParams `json:"export_dh_params"`
	ChromeDHParams *ztls.DHParams `json:"chrome_dh_params"`
	ChromeCipher   *string        `json:"chrome_cipher"`
	Error          *string        `json:"error"`
}

Jump to

Keyboard shortcuts

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