Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/companyzero/bisonrelay
/ functions
Functions
4,266 in github.com/companyzero/bisonrelay
⨍
Functions
4,266
◇
Types & classes
1,069
↓ 26 callers
Method
Fatalf
(format string, args ...interface{})
rtdt/client/util_test.go:43
↓ 26 callers
Method
Logger
Log returns the main client logger.
client/client.go:625
↓ 26 callers
Method
Unregister
()
client/notifications.go:672
↓ 25 callers
Function
New
(rand io.Reader)
ratchet/ratchet.go:109
↓ 25 callers
Method
RegisterSync
RegisterSync registers a callback notification function that is called synchronously to the event. This callback SHOULD return as soon as possible, ot
client/notifications.go:790
↓ 25 callers
Method
findOrNewGCWindow
findOrNewGCWindow finds the existing chat window for the given gc or creates a new one with the given alias.
brclient/appstate.go:1217
↓ 24 callers
Method
String
()
server/session.go:26
↓ 23 callers
Method
Create
Create attempts to create a new wallet using a new seed and protects the wallet with the given passphrase. The seed for the wallet is returned.
embeddeddcrlnd/dcrlnd.go:178
↓ 23 callers
Method
LocalNick
LocalNick is the nick of this client. This is only available after the Run() method has loaded the user ID from the DB.
client/client.go:940
↓ 23 callers
Method
Run
(ctx context.Context)
server/server.go:630
↓ 23 callers
Method
String
()
client/resources/simplestore/products.go:65
↓ 23 callers
Method
Update
(ctx context.Context, f func(tx ReadWriteTx) error)
client/clientdb/access.go:227
↓ 23 callers
Function
batchCmds
batchCmds maybe batches the list of cmds if needed.
brclient/util.go:134
↓ 23 callers
Method
manyDiagMsgsCb
manyDiagMsgsCb calls `f` with a printf function that can be used to print multiple diagnostic lines at the same time without overlapping from other go
brclient/appstate.go:815
↓ 23 callers
Function
withRTDTRandomStreamHandler
(h rtdtclient.StreamHandler)
internal/e2etests/e2e_test.go:227
↓ 22 callers
Method
DefaultDecodeInvoice
DefaultDecodeInvoice is the default behavior of the MockPayClient DecodeInvoice(). Useful when DecodeInvoice is hooked and the default behavior is des
internal/testutils/mockpayclient.go:107
↓ 22 callers
Method
GCMessage
GCMessage sends a message to the given GC. If progressChan is not nil, events are sent to it as the sending process progresses. Writes to progressChan
client/client_groupchat.go:1102
↓ 22 callers
Method
NotificationManager
()
client/client.go:910
↓ 22 callers
Method
updateViewportContent
()
brclient/mainwindow.go:80
↓ 21 callers
Method
Decrypt
(ciphertext []byte)
ratchet/ratchet.go:484
↓ 21 callers
Method
FilenameFor
FilenameFor returns the filename for a given number.
internal/jsonfile/numberedfiles.go:95
↓ 21 callers
Method
Is
(other error)
rpc/errors.go:35
↓ 21 callers
Method
Len
Len returns the current number of outstanding messages in the RMQs enqueue loop and send loop.
client/internal/lowlevel/rmq.go:512
↓ 21 callers
Method
Reset
()
client/rpcserver/streams.go:15
↓ 21 callers
Method
TipUser
TipUser attempts to send a tip to a user. The user must be or come online for this to complete. The request to tip is persisted and may continue after
clientrpc/types/clientrpc_svcintf.pb.go:1132
↓ 21 callers
Method
renderInfoView
()
brclient/rtdtconference.go:194
↓ 21 callers
Method
sendRM
sendRM schedules the given RM in the user's rmq. It returns when the RM has been ack'd by the server.
client/remoteuser.go:362
↓ 20 callers
Method
GetLiveRTSession
GetLiveRTSession returns information about a live RTDT session. If the session is not live, this returns nil.
client/client_rtdt.go:1634
↓ 20 callers
Method
Stop
()
internal/audio/audio.go:95
↓ 20 callers
Function
newMockServerSession
()
client/internal/lowlevel/util_test.go:344
↓ 20 callers
Function
randomData
randomData generates a random slice of data.
rtdt/client/util_test.go:461
↓ 19 callers
Method
BindToSession
BindToSession binds the rendezvous manager to the specified server session. Note: the rendezvous manager assumes the given session has been setup suc
client/internal/lowlevel/rendezvous.go:274
↓ 19 callers
Method
GetGCAlias
GetGCAlias returns the local alias or the name for the specified GC.
client/client_groupchat.go:86
↓ 19 callers
Method
RemoteAddr
()
client/clientintf/interface.go:45
↓ 19 callers
Method
acceptNextGCInvite
acceptNextGCInvite adds a handler that will accept the next GC invite received by the client as long as it is for the specified GC ID. It returns a ch
internal/e2etests/e2e_test.go:281
↓ 19 callers
Function
assertClientInGC
assertClientInGC asserts that `c` sees itself as a member of the GC.
internal/e2etests/assertions_test.go:50
↓ 19 callers
Function
deriveKey
deriveKey takes an HMAC object and a label and calculates out = HMAC(k, label).
ratchet/ratchet.go:146
↓ 19 callers
Method
newHelpMsg
(f string, args ...interface{})
brclient/chatwindow.go:574
↓ 19 callers
Function
randomData
randomData generates a random slice of data.
rtdt/server/util_test.go:733
↓ 19 callers
Function
withTestCookieKey
withTestCookieKey runs the server with a known, test cookie key.
rtdt/server/util_test.go:435
↓ 18 callers
Method
AcceptRTDTSessionInvite
AcceptRTDTSessionInvite accepts an invite to join an RTDT session. If acceptAsPublisher is false, then the user joins the session only receiving data.
client/client_rtdt.go:543
↓ 18 callers
Function
Content
Content returns s escaped from chars that don't belong in content.
internal/strescape/strescape.go:27
↓ 18 callers
Method
UserByNick
UserByNick returns the user identified by the given nick. Nick may be the actual user nick or a prefix of the user's ID (to disambiguate between users
client/client.go:1072
↓ 18 callers
Function
assertNoData
assertNoData asserts that none of the specified clients reads any data from the server.
rtdt/server/util_test.go:705
↓ 18 callers
Function
fileExists
(fname string)
client/clientdb/util.go:50
↓ 18 callers
Function
newMainWindowState
(as *appState)
brclient/mainwindow.go:811
↓ 18 callers
Method
recreateClient
recreateClient stops the specified client and re-creates it using the same database.
internal/e2etests/e2e_test.go:617
↓ 18 callers
Function
rvidFromStr
(s string)
client/internal/lowlevel/util_test.go:69
↓ 17 callers
Method
BindToSession
BindToSession binds the rmq to the specified server session. Queued and new messages will be sent via this server until it is removed or the rmq stops
client/internal/lowlevel/rmq.go:119
↓ 17 callers
Method
LeaveLiveRTSession
LeaveLiveRTSession leaves the given live session. NOTE: if the session is marked as an instant session, this automatically permanently leaves it as w
client/client_rtdt.go:1698
↓ 17 callers
Function
New
(name, nick string)
zkidentity/zkidentity.go:86
↓ 17 callers
Method
Store
Store stores the given value in the log, as a JSON object. It returns the ID under which the message was stored, and which can be used to delete messa
client/internal/replaymsglog/replaymsglog.go:256
↓ 17 callers
Method
SubscribeToPosts
SubscribeToPosts makes the local client subscribe to a remote user's posts.
clientrpc/types/clientrpc_svcintf.pb.go:921
↓ 17 callers
Function
gcCompleter
gcCompleter returns completions for GCs that have a prefix.
brclient/commands.go:169
↓ 17 callers
Method
handleSync
handleSync is syntatic sugar for tc.NotificationManager().RegisterSync()
internal/e2etests/e2e_test.go:326
↓ 17 callers
Method
renderPost
()
brclient/postwin.go:298
↓ 16 callers
Method
CompleteKeyExchange
CompleteKeyExchange takes a KeyExchange message from the other party and establishes the ratchet.
ratchet/ratchet.go:190
↓ 16 callers
Method
footerInvalidate
footerInvalidate marks the main app footer as invalid, causing the next footerView call to regenerate it.
brclient/appstate.go:1125
↓ 16 callers
Method
stopClient
stopClient stops this client. It can't be used after this.
internal/e2etests/e2e_test.go:606
↓ 16 callers
Method
validJoinCookie
validJoinCookie returns a valid join cookie that can be used by a peer with the given ID to join a session.
rtdt/server/util_test.go:525
↓ 15 callers
Method
FillKeyExchange
FillKeyExchange sets elements of kx with key exchange information from the ratchet.
ratchet/ratchet.go:125
↓ 15 callers
Method
Get
Get returns the last fetched USD/DCR and USD/BTC prices.
rates/rates.go:92
↓ 15 callers
Method
HookPayInvoice
(hook func(string) (int64, error))
internal/testutils/mockpayclient.go:30
↓ 15 callers
Method
Load
Load retrieves settings from an ini file. Additionally it expands all ~ to the current user home directory.
server/settings/settings.go:190
↓ 15 callers
Method
Stream
(ctx context.Context, method string, request proto.Message)
clientrpc/types/registry.go:17
↓ 15 callers
Method
String
()
clientrpc/types/clientrpc.pb.go:387
↓ 15 callers
Function
assertJoinsGC
assertJoinsGC asserts that the admin invites and the target accepts the invitation to join a GC.
internal/e2etests/assertions_test.go:42
↓ 15 callers
Function
dup32
(x *[32]byte)
ratchet/ratchet.go:594
↓ 15 callers
Function
itoa
(i uint64)
client/clientdb/util.go:42
↓ 15 callers
Method
logger
(subsys string)
brclient/log.go:103
↓ 15 callers
Function
newMockKX
()
client/internal/lowlevel/util_test.go:242
↓ 15 callers
Method
recalcViewportSize
()
brclient/postwin.go:658
↓ 15 callers
Function
unmarshalKey
(dst *[32]byte, src []byte)
ratchet/ratchet.go:664
↓ 14 callers
Method
Focus
()
brclient/formhelper.go:11
↓ 14 callers
Method
Hash
()
rpc/routedrpc.go:1254
↓ 14 callers
Method
IsIgnored
IsIgnored indicates whether the given client has the ignored flag set.
client/client_kx.go:515
↓ 14 callers
Method
Nick
Nick returns the nick of the user.
client/clientdb/interface.go:137
↓ 14 callers
Method
Policy
()
client/clientintf/interface.go:140
↓ 14 callers
Function
Read
Read the first json message from the given filename and decodes it into data.
internal/jsonfile/jsonfile.go:77
↓ 14 callers
Method
SendPRPC
(msg rpc.Message, payload interface{}, reply chan<- interface{})
client/clientintf/interface.go:137
↓ 14 callers
Function
assertReceivesNewPost
assertReceivesNewPost creates a new post in poster and asserts all passed subs receive a notification that the post was done. Returns the new post id.
internal/e2etests/assertions_test.go:311
↓ 14 callers
Function
assertSubscribeToPosts
assertSubscribeToPosts attempts to make subscriber subscribe to target's posts.
internal/e2etests/assertions_test.go:293
↓ 14 callers
Function
btnWithFixedMsgAction
(msg tea.Msg)
brclient/formhelper.go:188
↓ 14 callers
Function
btnWithLabel
(label string)
brclient/formhelper.go:176
↓ 14 callers
Function
cmdCompleter
cmdCompleter returns possible completions of the given command.
brclient/commands.go:129
↓ 14 callers
Function
fileCompleter
fileCompleter expands the given arg as an existing filepath and completes with the available options.
brclient/commands.go:91
↓ 14 callers
Method
logger
(subsys string)
bruig/golib/log.go:80
↓ 14 callers
Function
newButtonHelper
(styles *theme, opts ...buttonHelperOption)
brclient/formhelper.go:234
↓ 14 callers
Function
newServerSession
newServerSession initializes the minimum fields of a new server session.
client/internal/lowlevel/serversession.go:641
↓ 14 callers
Method
sendRandomData
sendRandomData sends random data from the client in this session and asserts that the data is correctly received in the server.
rtdt/client/util_test.go:84
↓ 13 callers
Method
Addr
Addr returns the listener's network address.
rtdt/server/listener.go:120
↓ 13 callers
Method
CommentPost
CommentPost sends a comment status update on the received post.
client/client_posts.go:887
↓ 13 callers
Method
ConstantTimeEq
ConstantTimeEq returns 1 when the two ids are equal. The comparison is done in constant time.
zkidentity/shortid.go:96
↓ 13 callers
Method
FromString
FromString decodes s into a TxHash. s must contain an hex-encoded ID of the correct length.
rpc/util.go:17
↓ 13 callers
Method
HookGetInvoice
(hook func(int64, func(int64)) (string, error))
internal/testutils/mockpayclient.go:56
↓ 13 callers
Function
NewRMQ
(log slog.Logger, db RMQDB)
client/internal/lowlevel/rmq.go:90
↓ 13 callers
Method
Next
()
rtdt/internal/rtnullclient/sessions.go:10
↓ 13 callers
Method
Register
(v interface{}, async bool)
client/notifications.go:745
↓ 13 callers
Function
ResourcesPath
ResourcesPath escapes and joins the specified path into a single string.
internal/strescape/strescape.go:109
↓ 13 callers
Method
Run
(dir string)
bruig/golib/profiler.go:112
← previous
next →
101–200 of 4,266, ranked by callers