Versions in this module Expand all Collapse all v0 v0.2.0 Sep 14, 2019 Changes in this version + func DownloadSample(hash string, apiKey string) (types.SampleState, error) + func DumpRaw(states types.SampleState, hash string) error + func DumpZip(states types.SampleState, hash string, outZip string) error + func IsAPIKeyValid(key string) bool v0.1.0 Sep 3, 2019 Changes in this version + func Base64DecodeContent(buf *string) (*bytes.Buffer, error) + func GetActorName(inputActor string, apikey string) (string, error) + func GetFamilyName(inputFamily string, apikey string) (string, error) + func HttpGetQuery(p types.Endpoint, apiKey string) ([]byte, error) + func HttpMultipartFileUpload(p types.Endpoint, apiKey string, body io.Reader, filename string) ([]byte, error) + func HttpRawFileUpload(p types.Endpoint, apiKey string, body io.Reader, filename string) ([]byte, error) + func PrettyPrintJson(buf []byte) error + func Unzip(src string, dest string) error + type Hash int + const MD5 + const SHA1 + const SHA256 + func GetHashType(hash string) (Hash, error)