chatops

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatAttachment

type ChatAttachment struct {
	AuthorName string
	Title      string
	Text       string
	Color      string
}

type ChatOps

type ChatOps struct {
	Service   string
	Channel   string
	User      string
	AuthToken string
	ServerURI *string
	TestMode  bool
	TestURL   *string
}

func (*ChatOps) PostMessage

func (c *ChatOps) PostMessage(code int, target string) (*ChatOpsResponse, error)

type ChatOpsInterface

type ChatOpsInterface interface {
	PostMessage(code int, target string) (*ChatOpsResponse, error)
	// contains filtered or unexported methods
}

type ChatOpsResponse

type ChatOpsResponse struct {
	Timestamp string
	Channel   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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