frogslack

package module
v0.0.0-...-5b54b1f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 9 Imported by: 0

README

frogslack

Documentation

Index

Constants

View Source
const (
	RESPONSE_TYPE_IN_CHANNEL = "in_channel"
	RESPONSE_TYPE_EPHEMERAL  = "ephemeral"
)

Variables

This section is empty.

Functions

func Croak

func Croak(w http.ResponseWriter, r *http.Request)

func Hop

func Hop(w http.ResponseWriter, r *http.Request)

Types

type Attachment

type Attachment struct {
	Text string `json:"text"`
}

type Request

type Request struct {
}

type Response

type Response struct {
	ResponseType string       `json:"response_type"`
	Text         string       `json:"text"`
	Attachments  []Attachment `json:"attachments,omitempty"`
}

type Tip

type Tip struct {
	Tip    string `json:"tip"`
	Number int    `json:"number"`
}

type TipsResponse

type TipsResponse struct {
	Tips []Tip `json:"tips"`
}

Jump to

Keyboard shortcuts

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