Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/rusq/slackdump
/ functions
Functions
4,254 in github.com/rusq/slackdump
⨍
Functions
4,254
◇
Types & classes
939
↓ 2 callers
Function
Mt
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
N
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
New
(t time.Time)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:88
↓ 2 callers
Function
NewCookieFileAuth
NewCookieFileAuth creates new auth provider from token and Mozilla cookie file.
auth/file.go:29
↓ 2 callers
Function
NewCookieOnlyAuth
NewCookieOnlyAuth uses workspace name and dCookie to get the token value and returns a ValueAuth.
auth/value.go:80
↓ 2 callers
Function
NewCoordinator
NewCoordinator creates a new Coordinator.
internal/convert/transform/dump_coordinator.go:37
↓ 2 callers
Function
NewDBSearchFile
(chunkID int64, n int, sf *slack.File)
internal/chunk/backend/dbase/repository/dbsearch_file.go:30
↓ 2 callers
Function
NewDBSearchMessage
(chunkID int64, idx int, sm *slack.SearchMessage)
internal/chunk/backend/dbase/repository/dbsearch_msg.go:35
↓ 2 callers
Function
NewDeduplicatingFileProcessor
NewDeduplicatingFileProcessor creates a new file processor that skips downloading files that already exist in the database.
internal/convert/transform/fileproc/dedup.go:40
↓ 2 callers
Function
NewDumpStorage
NewDumpStorage returns the file storage of the slackdumpdump format. fsys is the root of the dump.
source/filestorage.go:327
↓ 2 callers
Function
NewERC
(cd *chunk.Directory, lg *slog.Logger)
internal/chunk/backend/directory/erc.go:51
↓ 2 callers
Function
NewEntityListFromString
NewEntityListFromString creates an EntityList from a space-separated list of entities.
internal/structures/entity_list.go:160
↓ 2 callers
Function
NewFilepickModel
(ptrStr *string, f filemgr.Model, validateFn func(s string) error)
cmd/slackdump/internal/ui/updaters/filepick.go:37
↓ 2 callers
Function
NewMockChannelRepository
NewMockChannelRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_channel.go:36
↓ 2 callers
Function
NewMockTransformer
NewMockTransformer creates a new mock instance.
internal/chunk/mock_chunk/mock_chunk.go:32
↓ 2 callers
Function
NewMockUserRepository
NewMockUserRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_user.go:36
↓ 2 callers
Function
NewMockWorkspaceInfo
NewMockWorkspaceInfo creates a new mock instance.
mocks/mock_processor/mock_processor.go:321
↓ 2 callers
Function
NewMockWriteCloser
NewMockWriteCloser creates a new mock instance.
internal/mocks/mock_io/mock_io.go:84
↓ 2 callers
Function
NewMockcreateOpener
NewMockcreateOpener creates a new mock instance.
internal/mocks/mock_cache/mock_cache.go:92
↓ 2 callers
Function
NewMockmanager
NewMockmanager creates a new mock instance.
cmd/slackdump/internal/workspace/mocks_test.go:35
↓ 2 callers
Function
NewMultiSelect
(v *[]string, m *huh.MultiSelect[string])
cmd/slackdump/internal/ui/updaters/multiselect.go:36
↓ 2 callers
Function
NewSearchFileRepository
()
internal/chunk/backend/dbase/repository/dbsearch_file.go:68
↓ 2 callers
Function
NewSearchMessageRepository
()
internal/chunk/backend/dbase/repository/dbsearch_msg.go:76
↓ 2 callers
Function
NewServer
NewServer returns a new Server, it requires the chunk file handle in rs, and an ID of the user that will be returned by AuthTest in currentUserID.
internal/chunk/chunktest/server.go:39
↓ 2 callers
Function
NewSourceEncoder
(src source.Sourcer, fsa fsadapter.FS, enc chunk.Encoder, opts ...Option)
internal/convert/src2enc.go:42
↓ 2 callers
Function
NewValueCookiesAuth
(token string, cookies []*http.Cookie)
auth/value.go:58
↓ 2 callers
Method
Normalised
Normalised returns the normalised BuildInfo: - version has v prefix - Build is in 2006-01-02 15:04:05Z format. - commit is unchanged, so may be "Homeb
cmd/slackdump/internal/cfg/cfg.go:136
↓ 2 callers
Function
Nt
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
Oe
(t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
Offset
Offset returns the last read offset of the record in ReadSeeker.
internal/chunk/player.go:56
↓ 2 callers
Function
Open
Open attempts to open the database at given path for reading.
internal/chunk/backend/dbase/source.go:87
↓ 2 callers
Function
OpenDump
OpenDump opens the data in dump format (Slackdump v1.1.0+) from filesystem fsys, and the given name. It will scan for file attachments. If you need
source/dump.go:52
↓ 2 callers
Function
OpenStandardStorage
OpenStandardStorage returns the resolver for the export's standard storage format.
source/filestorage.go:192
↓ 2 callers
Function
Ot
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
Overlay
Overlay overlays the other EntityList on the el, overriding entities. Thus, other EntityList will have a priority over el.
internal/structures/entity_list.go:116
↓ 2 callers
Function
ParseThreadID
ParseThreadID parses the thread id (ie. p1577694990000400) and returns time.Time.
internal/structures/slacktime.go:30
↓ 2 callers
Function
Pe
(t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
PostJSON
PostJSON posts a request to the edge API. The request is marshalled to JSON and the response is unmarshalled to the req, which must be a pointer to a
internal/edge/edge.go:207
↓ 2 callers
Function
RandString
(sz int)
internal/fixtures/randstring.go:20
↓ 2 callers
Function
Re
()
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
Read
Read mocks base method.
internal/mocks/mock_io/mock_io.go:57
↓ 2 callers
Function
RecordFiles
RecordFiles returns a checkbox parameter for Record Files flag.
cmd/slackdump/internal/ui/cfgui/common_params.go:56
↓ 2 callers
Function
Render
Render renders the string formatted as markdown into a string with escape sequences for the terminal output. The width of output is calculated based
cmd/slackdump/internal/golang/base/base.go:175
↓ 2 callers
Method
RenderCanvas
RenderCanvas renders the full canvas tab page for channelID to w.
internal/viewer/handlers.go:105
↓ 2 callers
Method
RenderCanvas
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:52
↓ 2 callers
Method
RenderCanvasContent
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:53
↓ 2 callers
Method
RenderChannel
RenderChannel renders the full conversation page for channelID to w.
internal/viewer/handlers.go:48
↓ 2 callers
Method
RenderChannel
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:49
↓ 2 callers
Method
RenderThread
RenderThread renders the full thread page for (channelID, threadTS) to w. threadTS must be a clean timestamp (not the "p…" Slack URL form).
internal/viewer/handlers.go:67
↓ 2 callers
Method
RenderThread
(ctx context.Context, channelID, threadTS string, w io.Writer)
internal/viewer/viewer.go:50
↓ 2 callers
Method
RenderUser
(ctx context.Context, userID string, w io.Writer)
internal/viewer/viewer.go:51
↓ 2 callers
Method
Reset
Reset should reset the model to its initial state.
cmd/slackdump/internal/ui/bubbles/menu/focusmodel.go:25
↓ 2 callers
Method
Restore
Restore restores the index to the original channels slice (minus the lost data from DMs).
internal/structures/index.go:191
↓ 2 callers
Method
RunNoTransform
RunNoTransform should run the main controller loop without enabling transformation logic.
cmd/slackdump/internal/archive/archive.go:278
↓ 2 callers
Function
Save
Save saves the config to the file.
cmd/slackdump/internal/apiconfig/apiconfig.go:63
↓ 2 callers
Method
SearchMessages
SearchMessages is called for each message chunk that is retrieved.
processor/processor.go:78
↓ 2 callers
Method
Select
Select selects the existing workspace with "name".
internal/cache/manager.go:324
↓ 2 callers
Method
Sessions
(ctx context.Context)
internal/chunk/backend/dbase/source.go:447
↓ 2 callers
Method
SetAlias
(id, alias string)
internal/chunk/backend/dbase/source.go:135
↓ 2 callers
Method
SetFocus
(b bool)
cmd/slackdump/internal/ui/bubbles/menu/model.go:154
↓ 2 callers
Function
SetWspFlags
(fs *flag.FlagSet)
cmd/slackdump/internal/workspace/wspcfg/wspcfg.go:48
↓ 2 callers
Function
ShowUI
ShowUI shows the authentication menu. If quicklogin is set to true, it will quit after the user has successfully authenticated.
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:64
↓ 2 callers
Method
Size
()
cmd/slackdump/internal/workspace/list_format.go:83
↓ 2 callers
Function
SkipIfRoot
(t *testing.T)
internal/fixtures/fixtures.go:124
↓ 2 callers
Method
SlackString
SlackString returns the time as a slack timestamp (i.e. "1234567890.123456").
internal/fasttime/fasttime.go:47
↓ 2 callers
Function
SliceToTestResult
SliceToTestResult converts a slice of values to a slice of TestResult.
internal/testutil/iter.go:112
↓ 2 callers
Function
St
(r,e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
StaticFS
StaticFS returns the embedded viewer static assets.
internal/viewer/staticfs.go:12
↓ 2 callers
Method
Stop
Stop waits for all transfers to finish, and stops the downloader.
downloader/downloader.go:320
↓ 2 callers
Method
StreamChannelsEx
StreamChannelsEx requests the channels from the API and returns an iterator of channel chunks.
channels.go:97
↓ 2 callers
Method
String
()
auth/browser/browser_string.go:19
↓ 2 callers
Method
String
()
source/source.go:126
↓ 2 callers
Method
String
()
internal/structures/entity_list.go:57
↓ 2 callers
Method
String
()
internal/chunk/backend/dbase/dbase.go:44
↓ 2 callers
Method
String
()
internal/format/type_string.go:21
↓ 2 callers
Method
String
()
stream/stream.go:102
↓ 2 callers
Function
Te
(e,o,i,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
ThreadMessage
(id, threadTS, msgTS string)
internal/viewer/renderer/routes.go:93
↓ 2 callers
Method
ThreadParent
ThreadParent returns the thread parent message for the given thread. It returns ErrNotFound if the thread is not found.
internal/chunk/file.go:225
↓ 2 callers
Function
Time
Time asks the user to enter a date and time. For simplicity, the date and time are entered in two separate prompts. The date is optional, and if it
cmd/slackdump/internal/ui/time.go:40
↓ 2 callers
Method
ToChunk
(ctx context.Context, enc chunk.Encoder, _ int64)
source/chunkdir.go:220
↓ 2 callers
Method
Transform
Transform is the function that should be passed to the Channel processor. It will not block if the internal buffer is full. Buffer size can be set wi
internal/convert/transform/export_coordinator.go:159
↓ 2 callers
Method
Type
Type returns the authentication type that should be used for the current slack creds. If the auth type wasn't tested on the system that the slackdump
internal/cache/auth.go:71
↓ 2 callers
Function
U
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
Un
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
UnGZIP
UnGZIP decompresses a gzip file and returns a temporary file handler. it must be removed after use. It expects r to contain a gzip file data.
internal/osext/compression.go:28
↓ 2 callers
Function
UnGZIPTo
(r io.Reader, dir, mask string)
internal/osext/compression.go:32
↓ 2 callers
Method
Underline
(char ...string)
cmd/slackdump/internal/workspace/list_format.go:87
↓ 2 callers
Method
Validate
()
internal/network/limits.go:149
↓ 2 callers
Method
Validate
Validate validates the input parameters.
internal/convert/export.go:89
↓ 2 callers
Function
ValidateEntityList
ValidateEntityList validates a space-separated list of entities.
internal/structures/entity_list.go:187
↓ 2 callers
Function
ValidateToken
(token string)
internal/structures/structures.go:46
↓ 2 callers
Method
View
()
cmd/slackdump/internal/ui/updaters/bool.go:60
↓ 2 callers
Function
WithBufferSize
WithBufferSize sets the size of the channel IDs buffer. This is the number of channel IDs that will be queued without blocking before the [transform.
internal/convert/transform/export_coordinator.go:80
↓ 2 callers
Function
WithEnterprise
WithEnterprise sets the enterprise flag. Setting the flag to true forces the use of the edge client, even if the workspace is not an enterprise works
internal/client/client.go:89
↓ 2 callers
Function
WithLogger
WithLogger allows to use an external log library, that satisfies the *slog.Logger.
downloader/downloader.go:124
↓ 2 callers
Function
WithQuickLogin
()
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:58
↓ 2 callers
Function
WithSeed
WithSeed allows you to specify the seed for the random number generator.
internal/chunk/obfuscate/obfuscate.go:50
↓ 2 callers
Function
WithTitle
(title string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:54
↓ 2 callers
Function
WithVerbose
(v bool)
internal/chunk/backend/dbase/dbase.go:80
← previous
next →
1,001–1,100 of 4,254, ranked by callers