webinfo

package
v0.0.0-...-46f7198 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package webinfo retrieves informations from links

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand() *core.Command

GetCommand returns a Command structure for url search 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 and initialises the database table "Link" if necessary.

Types

This section is empty.

Notes

Bugs

  • Choose a better name for the HandleUrls function

  • 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