utils

package
v0.0.0-...-e30eca2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteReverseIP4

func ByteReverseIP4(ip net.IP) (revip types.RevIP4)

func FileExists

func FileExists(filename string) bool

func ReadMail

func ReadMail(r io.Reader) (*mail.Message, error)

func ResolveAddrNames

func ResolveAddrNames(addr string) (addrNames types.AddrNames, err error)

ResolveAddrNames returns a struct containging an address and a list of names mapping to it

func SenderbaseIPData

func SenderbaseIPData(sip string) (sbGeo types.SBGeo, err error)

SenderbaseIPData query the senderbase to find out the org name of ip

Types

This section is empty.

Jump to

Keyboard shortcuts

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