log

package
v0.0.0-...-e6a6799 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBUpsertChannel

func DBUpsertChannel(db *sql.DB, channel *discordgo.Channel) error

DBUpsertChannel adds or updates a channel in the database

func DBUpsertGuild

func DBUpsertGuild(db *sql.DB, guild *discordgo.Guild) error

DBUpsertGuild adds or updates a guild in the database

func DBUpsertMessage

func DBUpsertMessage(db *sql.DB, message *discordgo.Message) error

DBUpsertMessage adds a message in the database

func DBUpsertUser

func DBUpsertUser(db *sql.DB, user *discordgo.User) error

DBUpsertUser adds or updates a user in the database

Types

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module holds data for this module and implements the shodan.Module interface

func (*Module) Attach

func (m *Module) Attach(session shodan.Shodan) error

Attach attaches this module to a Shodan session

func (*Module) GetIdentifier

func (m *Module) GetIdentifier() string

GetIdentifier returns the identifier for this module

Jump to

Keyboard shortcuts

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