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: 0

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