MCPcopy Index your code

hub / github.com/companyzero/bisonrelay / functions

Functions4,266 in github.com/companyzero/bisonrelay

↓ 26 callersMethodFatalf
(format string, args ...interface{})
rtdt/client/util_test.go:43
↓ 26 callersMethodLogger
Log returns the main client logger.
client/client.go:625
↓ 26 callersMethodUnregister
()
client/notifications.go:672
↓ 25 callersFunctionNew
(rand io.Reader)
ratchet/ratchet.go:109
↓ 25 callersMethodRegisterSync
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 callersMethodfindOrNewGCWindow
findOrNewGCWindow finds the existing chat window for the given gc or creates a new one with the given alias.
brclient/appstate.go:1217
↓ 24 callersMethodString
()
server/session.go:26
↓ 23 callersMethodCreate
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 callersMethodLocalNick
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 callersMethodRun
(ctx context.Context)
server/server.go:630
↓ 23 callersMethodString
()
client/resources/simplestore/products.go:65
↓ 23 callersMethodUpdate
(ctx context.Context, f func(tx ReadWriteTx) error)
client/clientdb/access.go:227
↓ 23 callersFunctionbatchCmds
batchCmds maybe batches the list of cmds if needed.
brclient/util.go:134
↓ 23 callersMethodmanyDiagMsgsCb
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 callersFunctionwithRTDTRandomStreamHandler
(h rtdtclient.StreamHandler)
internal/e2etests/e2e_test.go:227
↓ 22 callersMethodDefaultDecodeInvoice
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 callersMethodGCMessage
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 callersMethodNotificationManager
()
client/client.go:910
↓ 22 callersMethodupdateViewportContent
()
brclient/mainwindow.go:80
↓ 21 callersMethodDecrypt
(ciphertext []byte)
ratchet/ratchet.go:484
↓ 21 callersMethodFilenameFor
FilenameFor returns the filename for a given number.
internal/jsonfile/numberedfiles.go:95
↓ 21 callersMethodIs
(other error)
rpc/errors.go:35
↓ 21 callersMethodLen
Len returns the current number of outstanding messages in the RMQs enqueue loop and send loop.
client/internal/lowlevel/rmq.go:512
↓ 21 callersMethodReset
()
client/rpcserver/streams.go:15
↓ 21 callersMethodTipUser
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 callersMethodrenderInfoView
()
brclient/rtdtconference.go:194
↓ 21 callersMethodsendRM
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 callersMethodGetLiveRTSession
GetLiveRTSession returns information about a live RTDT session. If the session is not live, this returns nil.
client/client_rtdt.go:1634
↓ 20 callersMethodStop
()
internal/audio/audio.go:95
↓ 20 callersFunctionnewMockServerSession
()
client/internal/lowlevel/util_test.go:344
↓ 20 callersFunctionrandomData
randomData generates a random slice of data.
rtdt/client/util_test.go:461
↓ 19 callersMethodBindToSession
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 callersMethodGetGCAlias
GetGCAlias returns the local alias or the name for the specified GC.
client/client_groupchat.go:86
↓ 19 callersMethodRemoteAddr
()
client/clientintf/interface.go:45
↓ 19 callersMethodacceptNextGCInvite
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 callersFunctionassertClientInGC
assertClientInGC asserts that `c` sees itself as a member of the GC.
internal/e2etests/assertions_test.go:50
↓ 19 callersFunctionderiveKey
deriveKey takes an HMAC object and a label and calculates out = HMAC(k, label).
ratchet/ratchet.go:146
↓ 19 callersMethodnewHelpMsg
(f string, args ...interface{})
brclient/chatwindow.go:574
↓ 19 callersFunctionrandomData
randomData generates a random slice of data.
rtdt/server/util_test.go:733
↓ 19 callersFunctionwithTestCookieKey
withTestCookieKey runs the server with a known, test cookie key.
rtdt/server/util_test.go:435
↓ 18 callersMethodAcceptRTDTSessionInvite
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 callersFunctionContent
Content returns s escaped from chars that don't belong in content.
internal/strescape/strescape.go:27
↓ 18 callersMethodUserByNick
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 callersFunctionassertNoData
assertNoData asserts that none of the specified clients reads any data from the server.
rtdt/server/util_test.go:705
↓ 18 callersFunctionfileExists
(fname string)
client/clientdb/util.go:50
↓ 18 callersFunctionnewMainWindowState
(as *appState)
brclient/mainwindow.go:811
↓ 18 callersMethodrecreateClient
recreateClient stops the specified client and re-creates it using the same database.
internal/e2etests/e2e_test.go:617
↓ 18 callersFunctionrvidFromStr
(s string)
client/internal/lowlevel/util_test.go:69
↓ 17 callersMethodBindToSession
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 callersMethodLeaveLiveRTSession
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 callersFunctionNew
(name, nick string)
zkidentity/zkidentity.go:86
↓ 17 callersMethodStore
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 callersMethodSubscribeToPosts
SubscribeToPosts makes the local client subscribe to a remote user's posts.
clientrpc/types/clientrpc_svcintf.pb.go:921
↓ 17 callersFunctiongcCompleter
gcCompleter returns completions for GCs that have a prefix.
brclient/commands.go:169
↓ 17 callersMethodhandleSync
handleSync is syntatic sugar for tc.NotificationManager().RegisterSync()
internal/e2etests/e2e_test.go:326
↓ 17 callersMethodrenderPost
()
brclient/postwin.go:298
↓ 16 callersMethodCompleteKeyExchange
CompleteKeyExchange takes a KeyExchange message from the other party and establishes the ratchet.
ratchet/ratchet.go:190
↓ 16 callersMethodfooterInvalidate
footerInvalidate marks the main app footer as invalid, causing the next footerView call to regenerate it.
brclient/appstate.go:1125
↓ 16 callersMethodstopClient
stopClient stops this client. It can't be used after this.
internal/e2etests/e2e_test.go:606
↓ 16 callersMethodvalidJoinCookie
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 callersMethodFillKeyExchange
FillKeyExchange sets elements of kx with key exchange information from the ratchet.
ratchet/ratchet.go:125
↓ 15 callersMethodGet
Get returns the last fetched USD/DCR and USD/BTC prices.
rates/rates.go:92
↓ 15 callersMethodHookPayInvoice
(hook func(string) (int64, error))
internal/testutils/mockpayclient.go:30
↓ 15 callersMethodLoad
Load retrieves settings from an ini file. Additionally it expands all ~ to the current user home directory.
server/settings/settings.go:190
↓ 15 callersMethodStream
(ctx context.Context, method string, request proto.Message)
clientrpc/types/registry.go:17
↓ 15 callersMethodString
()
clientrpc/types/clientrpc.pb.go:387
↓ 15 callersFunctionassertJoinsGC
assertJoinsGC asserts that the admin invites and the target accepts the invitation to join a GC.
internal/e2etests/assertions_test.go:42
↓ 15 callersFunctiondup32
(x *[32]byte)
ratchet/ratchet.go:594
↓ 15 callersFunctionitoa
(i uint64)
client/clientdb/util.go:42
↓ 15 callersMethodlogger
(subsys string)
brclient/log.go:103
↓ 15 callersFunctionnewMockKX
()
client/internal/lowlevel/util_test.go:242
↓ 15 callersMethodrecalcViewportSize
()
brclient/postwin.go:658
↓ 15 callersFunctionunmarshalKey
(dst *[32]byte, src []byte)
ratchet/ratchet.go:664
↓ 14 callersMethodFocus
()
brclient/formhelper.go:11
↓ 14 callersMethodHash
()
rpc/routedrpc.go:1254
↓ 14 callersMethodIsIgnored
IsIgnored indicates whether the given client has the ignored flag set.
client/client_kx.go:515
↓ 14 callersMethodNick
Nick returns the nick of the user.
client/clientdb/interface.go:137
↓ 14 callersMethodPolicy
()
client/clientintf/interface.go:140
↓ 14 callersFunctionRead
Read the first json message from the given filename and decodes it into data.
internal/jsonfile/jsonfile.go:77
↓ 14 callersMethodSendPRPC
(msg rpc.Message, payload interface{}, reply chan<- interface{})
client/clientintf/interface.go:137
↓ 14 callersFunctionassertReceivesNewPost
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 callersFunctionassertSubscribeToPosts
assertSubscribeToPosts attempts to make subscriber subscribe to target's posts.
internal/e2etests/assertions_test.go:293
↓ 14 callersFunctionbtnWithFixedMsgAction
(msg tea.Msg)
brclient/formhelper.go:188
↓ 14 callersFunctionbtnWithLabel
(label string)
brclient/formhelper.go:176
↓ 14 callersFunctioncmdCompleter
cmdCompleter returns possible completions of the given command.
brclient/commands.go:129
↓ 14 callersFunctionfileCompleter
fileCompleter expands the given arg as an existing filepath and completes with the available options.
brclient/commands.go:91
↓ 14 callersMethodlogger
(subsys string)
bruig/golib/log.go:80
↓ 14 callersFunctionnewButtonHelper
(styles *theme, opts ...buttonHelperOption)
brclient/formhelper.go:234
↓ 14 callersFunctionnewServerSession
newServerSession initializes the minimum fields of a new server session.
client/internal/lowlevel/serversession.go:641
↓ 14 callersMethodsendRandomData
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 callersMethodAddr
Addr returns the listener's network address.
rtdt/server/listener.go:120
↓ 13 callersMethodCommentPost
CommentPost sends a comment status update on the received post.
client/client_posts.go:887
↓ 13 callersMethodConstantTimeEq
ConstantTimeEq returns 1 when the two ids are equal. The comparison is done in constant time.
zkidentity/shortid.go:96
↓ 13 callersMethodFromString
FromString decodes s into a TxHash. s must contain an hex-encoded ID of the correct length.
rpc/util.go:17
↓ 13 callersMethodHookGetInvoice
(hook func(int64, func(int64)) (string, error))
internal/testutils/mockpayclient.go:56
↓ 13 callersFunctionNewRMQ
(log slog.Logger, db RMQDB)
client/internal/lowlevel/rmq.go:90
↓ 13 callersMethodNext
()
rtdt/internal/rtnullclient/sessions.go:10
↓ 13 callersMethodRegister
(v interface{}, async bool)
client/notifications.go:745
↓ 13 callersFunctionResourcesPath
ResourcesPath escapes and joins the specified path into a single string.
internal/strescape/strescape.go:109
↓ 13 callersMethodRun
(dir string)
bruig/golib/profiler.go:112
← previousnext →101–200 of 4,266, ranked by callers