gnip

package module
v0.0.0-...-994f96f Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gognip

Golang client for Gnip API. Totally WIP/Experimental

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client ...

func NewClient

func NewClient(user string, password string, account string) *Client

NewClient ...

func (*Client) AddRule

func (client *Client) AddRule(streamLabel string, rule *types.Rule) (*types.RuleRequestResponse, error)

AddRule ...

func (*Client) AddRules

func (client *Client) AddRules(streamLabel string, rules []*types.Rule) (*types.RuleRequestResponse, error)

AddRules ...

func (*Client) ConnectPowertrack

func (client *Client) ConnectPowertrack(streamLabel string) (<-chan interface{}, error)

ConnectPowertrack ...

func (*Client) GetRule

func (client *Client) GetRule(streamLabel string, rule *types.Rule) (*types.RuleRequestResponse, error)

GetRule ...

func (*Client) GetRules

func (client *Client) GetRules(streamLabel string) (*types.RuleRequestResponse, error)

GetRules ...

func (*Client) IsActive

func (client *Client) IsActive() bool

IsActive ...

func (*Client) RemoveRule

func (client *Client) RemoveRule(streamLabel string, rule *types.Rule) (*types.RuleRequestResponse, error)

RemoveRule ...

func (*Client) RemoveRules

func (client *Client) RemoveRules(streamLabel string, rules []*types.Rule) (*types.RuleRequestResponse, error)

RemoveRules ...

func (*Client) StopPowertrack

func (client *Client) StopPowertrack()

StopPowertrack ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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