Documentation
¶
Index ¶
Constants ¶
View Source
const ( BadActorIdField = "baid" BadActorIdentifierField = "identifier" )
View Source
const ( LeakIdField = "leakid" LeakContextField = "context" )
View Source
const ( PlatformIdField = "platid" PlatformNameField = "name" )
View Source
const ( UserIdField = "userid" UserEmailField = "email" )
View Source
const (
DateFormatLayout = "2006-01-02"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadActor ¶
type BadActor struct {
Identifier string
BaId entity.AutoGenKey
}
func NewBadActor ¶
type DateInSeconds ¶
type DateInSeconds int64 // Epoch time in Seconds
func NewDateInSeconds ¶
func NewDateInSeconds(date string) (DateInSeconds, error)
func (DateInSeconds) String ¶
func (ds DateInSeconds) String() string
type HashUser ¶
type HashUser struct {
HSHA256 entity.HSHA256
UserId entity.AutoGenKey
}
func NewHashUser ¶
type Leak ¶
type Leak struct {
Context Context
LeakId entity.AutoGenKey
}
type LeakBadActor ¶
type LeakBadActor struct {
BaId entity.AutoGenKey
LeakId entity.AutoGenKey
}
func NewLeakBadActor ¶
func NewLeakBadActor(ba BadActor, leak Leak) LeakBadActor
func (LeakBadActor) Record ¶
func (lba LeakBadActor) Record() []entity.Tuple
type LeakPlatform ¶
type LeakPlatform struct {
PlatId entity.AutoGenKey
LeakId entity.AutoGenKey
}
func NewLeakPlatform ¶
func NewLeakPlatform(plat Platform, leak Leak) LeakPlatform
func (LeakPlatform) Record ¶
func (lpt LeakPlatform) Record() []entity.Tuple
type LeakUser ¶
type LeakUser struct {
UserId entity.AutoGenKey
LeakId entity.AutoGenKey
}
func NewLeakUser ¶
Click to show internal directories.
Click to hide internal directories.