Documentation
¶
Index ¶
- func ClaimIDFromOutpoint(txid string, nout int) (string, error)
- func InSlice(str string, values []string) bool
- func InitSlack(token string, channel string, username string)
- func SendToSlack(message string) error
- func SendToSlackChannel(channel, username, message string) error
- func SendToSlackUser(user, username, message string) error
- func Underscore(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSlack ¶
InitSlack Initializes a slack client with the given token and sets the default channel.
func SendToSlack ¶
SendToSlack Sends message to the default channel.
func SendToSlackChannel ¶
SendToSlackChannel Sends message to a specific channel.
func SendToSlackUser ¶
SendToSlackUser Sends message to a specific user.
func Underscore ¶
Underscore converts "CamelCasedString" to "camel_cased_string".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.