simpleslack

package module
Version: v0.0.0-...-01cb0bb Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2017 License: MIT Imports: 5 Imported by: 1

README

simpleslack

Super simple slack API wrapper. It probably shouldn't exist.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Token string
}

Client holds the information needed to make API calls to Slack. Right now, that is just the token.

func (Client) Post

func (c Client) Post(method string, params url.Values) (*jsontree.JsonTree, error)

Post will send a POST request to the Slack API method with the specified form values and then return the result in a go-jsontree object, for easy introspection.

Source Files

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL