SYMBOL INDEX (130 symbols across 15 files) FILE: cmd/irc-slack/main.go function getLogLevels (line 52) | func getLogLevels() []string { function main (line 60) | func main() { FILE: pkg/ircslack/channel.go constant ChannelPrefixPublicChannel (line 16) | ChannelPrefixPublicChannel = "#" constant ChannelPrefixPrivateChannel (line 17) | ChannelPrefixPrivateChannel = "@" constant ChannelPrefixMpIM (line 18) | ChannelPrefixMpIM = "&" constant ChannelPrefixThread (line 20) | ChannelPrefixThread = "+" function HasChannelPrefix (line 25) | func HasChannelPrefix(name string) bool { function StripChannelPrefix (line 39) | func StripChannelPrefix(name string) string { function ChannelMembers (line 47) | func ChannelMembers(ctx *IrcContext, channelID string) ([]slack.User, er... type Channel (line 95) | type Channel method IsPublicChannel (line 98) | func (c *Channel) IsPublicChannel() bool { method IsPrivateChannel (line 103) | func (c *Channel) IsPrivateChannel() bool { method IsMP (line 108) | func (c *Channel) IsMP() bool { method IRCName (line 117) | func (c *Channel) IRCName() string { method SlackName (line 138) | func (c *Channel) SlackName() string { FILE: pkg/ircslack/channels.go type Channels (line 13) | type Channels struct method AsMap (line 40) | func (c *Channels) AsMap() map[string]Channel { method FetchByIDs (line 52) | func (c *Channels) FetchByIDs(client *slack.Client, skipCache bool, ch... method Fetch (line 109) | func (c *Channels) Fetch(client *slack.Client) error { method Count (line 158) | func (c *Channels) Count() int { method ByID (line 163) | func (c *Channels) ByID(id string) *Channel { method ByName (line 175) | func (c *Channels) ByName(name string) *Channel { function NewChannels (line 20) | func NewChannels(pagination int) *Channels { function SupportedChannelPrefixes (line 28) | func SupportedChannelPrefixes() []string { FILE: pkg/ircslack/channels_test.go function TestChannelsNewChannels (line 15) | func TestChannelsNewChannels(t *testing.T) { type fakeErrorChannelsPaginationComplete (line 21) | type fakeErrorChannelsPaginationComplete struct method Error (line 28) | func (f fakeErrorChannelsPaginationComplete) Error() string { type fakeChannelsResponse (line 23) | type fakeChannelsResponse struct type fakeSlackHTTPClientChannels (line 32) | type fakeSlackHTTPClientChannels struct method Do (line 34) | func (c fakeSlackHTTPClientChannels) Do(req *http.Request) (*http.Resp... function TestChannelsFetch (line 52) | func TestChannelsFetch(t *testing.T) { function TestChannelsById (line 60) | func TestChannelsById(t *testing.T) { function TestChannelsByName (line 71) | func TestChannelsByName(t *testing.T) { FILE: pkg/ircslack/event_handler.go function joinText (line 11) | func joinText(first string, second string, separator string) string { function formatThreadChannelName (line 21) | func formatThreadChannelName(threadTimestamp string, channel *Channel) s... function resolveChannelName (line 25) | func resolveChannelName(ctx *IrcContext, msgChannel, threadTimestamp str... function appendIfNotMoreThan (line 138) | func appendIfNotMoreThan(slice []slack.Msg, msg slack.Msg) []slack.Msg { function getConversationDetails (line 145) | func getConversationDetails( function replacePermalinkWithText (line 165) | func replacePermalinkWithText(ctx *IrcContext, text string) string { function printMessage (line 180) | func printMessage(ctx *IrcContext, message slack.Msg, prefix string) { function eventHandler (line 257) | func eventHandler(ctx *IrcContext, rtm *slack.RTM) { FILE: pkg/ircslack/file_handler.go constant maxHTTPAttempts (line 19) | maxHTTPAttempts = 3 constant retryInterval (line 20) | retryInterval = time.Second type FileHandler (line 24) | type FileHandler struct method Download (line 55) | func (handler *FileHandler) Download(file slack.File) string { function retryableNetError (line 30) | func retryableNetError(err error) bool { function retryableHTTPError (line 43) | func retryableHTTPError(resp *http.Response) bool { FILE: pkg/ircslack/irc_context.go type SlackPostMessage (line 13) | type SlackPostMessage struct type IrcContext (line 20) | type IrcContext struct method Nick (line 43) | func (ic *IrcContext) Nick() string { method UserName (line 52) | func (ic *IrcContext) UserName() string { method GetThreadOpener (line 60) | func (ic *IrcContext) GetThreadOpener(channel string, threadTimestamp ... method ExpandUserIds (line 72) | func (ic *IrcContext) ExpandUserIds(text string) string { method Start (line 84) | func (ic *IrcContext) Start() { method PostTextMessage (line 112) | func (ic *IrcContext) PostTextMessage(target, text, targetTs string) { method GetUserInfo (line 122) | func (ic *IrcContext) GetUserInfo(userID string) *slack.User { method GetUserInfoByName (line 132) | func (ic *IrcContext) GetUserInfoByName(username string) *slack.User { method UserID (line 141) | func (ic IrcContext) UserID() string { method Mask (line 149) | func (ic IrcContext) Mask() string { method GetConversationInfo (line 154) | func (ic IrcContext) GetConversationInfo(conversation string) (*slack.... method SendUnknownError (line 174) | func (ic *IrcContext) SendUnknownError(fmtstr string, args ...interfac... FILE: pkg/ircslack/irc_server.go constant ProjectAuthor (line 20) | ProjectAuthor = "Andrea Barberio" constant ProjectAuthorEmail (line 21) | ProjectAuthorEmail = "insomniac@slackware.it" constant ProjectURL (line 22) | ProjectURL = "https://github.com/insomniacslk/irc-slack" constant MaxSlackAPIAttempts (line 23) | MaxSlackAPIAttempts = 3 type IrcCommandHandler (line 27) | type IrcCommandHandler function SplitReply (line 71) | func SplitReply(preamble, msg string, chunksize int) []string { function ExpandText (line 104) | func ExpandText(text string) string { function SendIrcNumeric (line 139) | func SendIrcNumeric(ctx *IrcContext, code int, args, desc string) error { function IrcSendChanInfoAfterJoin (line 155) | func IrcSendChanInfoAfterJoin(ctx *IrcContext, ch *Channel, members []sl... function IrcSendChanInfoAfterJoinCustom (line 162) | func IrcSendChanInfoAfterJoinCustom(ctx *IrcContext, chanName, chanID, t... function joinChannel (line 190) | func joinChannel(ctx *IrcContext, ch *Channel) error { function joinChannels (line 206) | func joinChannels(ctx *IrcContext) error { function IrcAfterLoggingIn (line 222) | func IrcAfterLoggingIn(ctx *IrcContext, rtm *slack.RTM) error { function IrcCapHandler (line 270) | func IrcCapHandler(ctx *IrcContext, prefix, cmd string, args []string, t... function parseMentions (line 285) | func parseMentions(text string) string { function getTargetTs (line 301) | func getTargetTs(channelName string) string { function IrcPrivMsgHandler (line 310) | func IrcPrivMsgHandler(ctx *IrcContext, prefix, cmd string, args []strin... type loggerWrapper (line 374) | type loggerWrapper struct method Output (line 378) | func (l *loggerWrapper) Output(calldepth int, s string) error { type httpClient (line 385) | type httpClient struct method Do (line 390) | func (hc httpClient) Do(req *http.Request) (*http.Response, error) { function passwordToTokenAndCookie (line 405) | func passwordToTokenAndCookie(p string) (string, string, error) { function connectToSlack (line 428) | func connectToSlack(ctx *IrcContext) error { function IrcNickHandler (line 482) | func IrcNickHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcUserHandler (line 516) | func IrcUserHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcPingHandler (line 532) | func IrcPingHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcQuitHandler (line 543) | func IrcQuitHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcModeHandler (line 548) | func IrcModeHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcPassHandler (line 571) | func IrcPassHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcWhoHandler (line 594) | func IrcWhoHandler(ctx *IrcContext, prefix, cmd string, args []string, t... function IrcWhoisHandler (line 657) | func IrcWhoisHandler(ctx *IrcContext, prefix, cmd string, args []string,... function IrcJoinHandler (line 723) | func IrcJoinHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcPartHandler (line 753) | func IrcPartHandler(ctx *IrcContext, prefix, cmd string, args []string, ... function IrcTopicHandler (line 801) | func IrcTopicHandler(ctx *IrcContext, prefix, cmd string, args []string,... function IrcNamesHandler (line 828) | func IrcNamesHandler(ctx *IrcContext, prefix, cmd string, args []string,... FILE: pkg/ircslack/server.go type Server (line 15) | type Server struct method Start (line 29) | func (s Server) Start() error { method HandleRequest (line 51) | func (s Server) HandleRequest(conn net.Conn) { method HandleMsg (line 71) | func (s *Server) HandleMsg(conn net.Conn, msg string) { FILE: pkg/ircslack/users.go type Users (line 13) | type Users struct method FetchByIDs (line 29) | func (u *Users) FetchByIDs(client *slack.Client, skipCache bool, userI... method Fetch (line 95) | func (u *Users) Fetch(client *slack.Client) ([]slack.User, error) { method Count (line 139) | func (u *Users) Count() int { method ByID (line 144) | func (u *Users) ByID(id string) *slack.User { method ByName (line 156) | func (u *Users) ByName(name string) *slack.User { method IDsToNames (line 171) | func (u *Users) IDsToNames(userIDs ...string) []string { function NewUsers (line 20) | func NewUsers(pagination int) *Users { FILE: pkg/ircslack/users_test.go function TestUsersNewUsers (line 15) | func TestUsersNewUsers(t *testing.T) { type fakeErrorUsersPaginationComplete (line 27) | type fakeErrorUsersPaginationComplete struct method Error (line 34) | func (f fakeErrorUsersPaginationComplete) Error() string { type fakeUsersResponse (line 29) | type fakeUsersResponse struct type fakeSlackHTTPClient (line 38) | type fakeSlackHTTPClient struct method Do (line 40) | func (c fakeSlackHTTPClient) Do(req *http.Request) (*http.Response, er... function TestUsersFetch (line 58) | func TestUsersFetch(t *testing.T) { function TestUsersById (line 67) | func TestUsersById(t *testing.T) { function TestUsersByName (line 78) | func TestUsersByName(t *testing.T) { function TestUsersIDsToNames (line 89) | func TestUsersIDsToNames(t *testing.T) { FILE: pkg/ircslack/wordwrap.go function WordWrap (line 9) | func WordWrap(allWords []string, maxLen int) []string { FILE: pkg/ircslack/wordwrap_test.go function TestWordWrapMultiLine (line 12) | func TestWordWrapMultiLine(t *testing.T) { function TestWordWrapSingleLine (line 23) | func TestWordWrapSingleLine(t *testing.T) { function TestWordWrapTruncate (line 30) | func TestWordWrapTruncate(t *testing.T) { FILE: tools/autotoken/main.go function main (line 27) | func main() { function fetchCredentials (line 51) | func fetchCredentials(ctx context.Context, team string, timeout time.Dur... function extractTokenAndCookie (line 88) | func extractTokenAndCookie(ctx context.Context, team string) (string, st... FILE: tools/slackapp/main.go function httpStatus (line 26) | func httpStatus(w http.ResponseWriter, r *http.Request, statusCode int, ... type slackChallenge (line 35) | type slackChallenge struct function handleSlackChallenge (line 39) | func handleSlackChallenge(w http.ResponseWriter, r *http.Request) { function handleSlackAuth (line 57) | func handleSlackAuth(w http.ResponseWriter, r *http.Request) { function main (line 123) | func main() {