Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDnsRequest ¶
func AddHttpRequest ¶
func AddHttpRequest(cbName string, uri string, host string, method string, headers string, body string, srcIP string)
these should be base64 encoded before coming into this function
func ConnectToDb ¶
Types ¶
type DnsRequest ¶
type DnsRequest struct { gorm.Model SourceIP string QueryName string QueryType string CallbackID int // fkey to callback Callback Callback }
func GetDnsRequests ¶
func GetDnsRequests(cbName string, since *time.Time) []DnsRequest
type HttpRequest ¶
type HttpRequest struct { gorm.Model SourceIP string URI string Host string Method string Headers string // base64 Body string // base64 CallbackID int // fkey to callback Callback Callback }
func GetHttpRequests ¶
func GetHttpRequests(cbName string, since *time.Time) []HttpRequest
Click to show internal directories.
Click to hide internal directories.