splitter

package
v0.0.0-...-e797cc8 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

This package provides ability to clarify - from which stream/streams tweet was received. Actually, Twitter Enterprise API provides this functionality out of the box but for pretty penny only. Therefore, for academic purposes only, we have to do it on our own.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Split accept tweet and all active streams. After that Split tries to recognize source stream for the tweet.
	// As instance:
	//   We have currently active streams: ["Tesla", "Trump", "Golang"] and with these streams we got a tweet:
	//   ""
	Split(tweetInterface TweetInterface, streams []StreamInterface) TweetStreamsInterface
}

Interface is used to inject some certain splitters as dependency.

Directories

Path Synopsis
providers
substring
See https://stackoverflow.com/questions/24836044/case-insensitive-string-search-in-golang
See https://stackoverflow.com/questions/24836044/case-insensitive-string-search-in-golang

Jump to

Keyboard shortcuts

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