slack

package
v0.0.0-...-be0bac2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffSlackGroups

func DiffSlackGroups(slackUsers []slack.User, slckGrps []slack.UserGroup, groupA string, groupB string)

DiffSlackGroups does a print out on who is in Slack Group A vs B

func GetASlackClient

func GetASlackClient(slackAccessToken string) *slack.Client

func GetSlackGroups

func GetSlackGroups(slackAPI slack.Client, slackGroupName string, bWithUser bool) []slack.UserGroup

func GetSlackUser

func GetSlackUser(slackAPI slack.Client, ldapUsers []*ldap.Entry) []slack.User

func SetSlackGroupUser

func SetSlackGroupUser(slackAPI slack.Client, slackGroups []slack.UserGroup, slackGroupName string, slackUser []slack.User, bWrite bool)

SetSlackGroupUser sets an array of Slack User to an Slack Group (found by name)

Types

This section is empty.

Jump to

Keyboard shortcuts

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