database

package
v0.0.0-...-11b568d Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHost

func CreateHost(host model.Host)

func CreateTable

func CreateTable()

func DeleteHost

func DeleteHost(name string)

func DeletePayload

func DeletePayload(name string)

func GetData

func GetData(name string) (string, string)

func GetHostNameCompleter

func GetHostNameCompleter() func(string) []string

func GetPayload

func GetPayload(w http.ResponseWriter, r *http.Request)

func GetPayloadDeleteCompleter

func GetPayloadDeleteCompleter() func(string) []string

func GetPayloadTypeCompleter

func GetPayloadTypeCompleter() func(string) []string

func GetPayloadTypes

func GetPayloadTypes() []model.PayloadType

func GetPayloads

func GetPayloads()

func GetTypeid

func GetTypeid(ptype string) (int, string)

func InsertPayload

func InsertPayload(payload model.Payload)

func ListHosts

func ListHosts()

func RandStringRunes

func RandStringRunes(n int) string

func ShowIndex

func ShowIndex(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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