webinfo

package
v0.0.0-...-25f99af Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package webinfo retrieves informations from links

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTitleCommand

func GetTitleCommand() *core.Command

GetTitleCommand returns a Command structure for the search by title command

func GetURLCommand

func GetURLCommand() *core.Command

GetURLCommand returns a Command structure for the search by URL command

func HandleURLs

func HandleURLs(event *irc.Event, callback func(*core.ReplyCallbackData))

HandleURLs is a message handler that search for URLs in a message

func Init

func Init(db *sql.DB)

Init stores the database pointer.

Types

This section is empty.

Notes

Bugs

  • Maybe not necessary to use Query + loop here, see if QueryRow can do the trick

  • Maybe not necessary to use Query + loop here, see if QueryRow can do the trick

  • Maybe not necessary to use Query + loop here, see if QueryRow can do the trick

Jump to

Keyboard shortcuts

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