server

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "1.0.0"

Version of server package

Variables

This section is empty.

Functions

func RunServer

func RunServer(addr string)

RunServer method to run server

Types

type Request

type Request struct {
	AddrStrings []string `json:"addr_strings,omitempty"`
}

Request for getting result as boolean (in case of query) or details.

type Response

type Response struct {
	Results    []*hitrssl.SSL `json:"results"`
	Error      string         `json:"error,omitempty"`
	StatusCode int            `json:"status_code"`
}

Response for sending results from API

Jump to

Keyboard shortcuts

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