core

package
v0.0.0-...-0e44ab0 Latest Latest
Warning

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

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

Documentation

Overview

Package core comprises the core function to parse and extract meaningful link information from inbound messages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(token string, debug bool)

Run is the main program loop for the Data bot

Types

type Link struct {
	UserName  string   `json:"username"`
	URLs      []string `json:"urls"`
	TimeStamp int64    `json:"timestamp"`
}

Link is a structured message for link aggregation

Jump to

Keyboard shortcuts

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