package
Version:
v0.0.0-...-bb3e6dd
Opens a new window with list of versions in this module.
Published: Nov 14, 2016
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Site struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
SiteDns string `json:"sitedns,omitempty"`
Description string `json:"description,omitempty"`
CreatedOn time.Time `json:"createdon,omitempty"`
}
type SmokeTest struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
SiteId bson.ObjectId `json:"siteid,omitempty"`
EnvDns string `json:"envdns,omitempty"`
HostIp string `json:"hostip,omitempty"`
Tags []string `json:"tags,omitempty"`
CreatedOn time.Time `json:"createdon,omitempty"`
CreatedBy string `json:"createdby"`
PassFail string `json:"passfail,omitempty"`
UrlResults []UrlCodes `json:"urlresults,omitempty"`
}
type TestUrl struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
SiteId bson.ObjectId `json:"siteid,omitempty"`
Url string `json:"url,omitempty"`
HtmlFragment string `json:"htmlfragment"`
CreatedOn time.Time `json:"createdon,omitempty"`
}
type UrlCodes struct {
Url string `json:"url,omitempty"`
StatusCode int `json:"statuscode,omitempty"`
Err string `json:"err,omitempty"`
}
type User struct {
Id bson.ObjectId `bson:"_id,omitempty" json:"id"`
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
Email string `json:"email"`
Password string `json:"password,omitempty"`
HashPassword []byte `json:"hashpassword,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.