MCPcopy Create free account

hub / github.com/delta/dalal-street-server / functions

Functions739 in github.com/delta/dalal-street-server

MethodDelete
Delete deletes a particular key in a given session
session/session.go:171
MethodDestroy
()
session/fakeSession.go:56
MethodDestroy
Destroy deletes the entire session from database
session/session.go:194
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mocks/mock_pqueue.go:32
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mocks/mock_pqueue.go:113
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mocks/mock_OrderBook.go:32
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mocks/mock_MarketDepth.go:31
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
mocks/mock_MatchingEngine.go:32
MethodEmpty
()
matchingengine/pqueue.go:19
MethodEmpty
()
matchingengine/pqueue.go:29
MethodEmpty
Empty checks if queue is empty
matchingengine/pqueue.go:241
MethodEmpty
Empty checks if queue is empty
matchingengine/pqueue.go:248
MethodEmpty
Empty mocks base method
mocks/mock_pqueue.go:83
MethodEmpty
Empty indicates an expected call of Empty
mocks/mock_pqueue.go:90
MethodEmpty
Empty mocks base method
mocks/mock_pqueue.go:164
MethodEmpty
Empty indicates an expected call of Empty
mocks/mock_pqueue.go:171
MethodError
()
models/User.go:566
MethodError
()
models/User.go:573
MethodError
()
models/User.go:584
MethodError
()
models/User.go:592
MethodError
()
models/User.go:603
MethodError
()
models/User.go:615
MethodError
()
models/User.go:631
MethodError
()
models/User.go:638
MethodError
()
models/User.go:645
MethodError
()
models/User.go:652
MethodError
()
models/User.go:659
MethodError
()
models/User.go:667
MethodError
()
models/User.go:2179
MethodError
()
models/Ipo.go:53
MethodForgotPassword
(ctx context.Context, req *actions_pb.ForgotPasswordRequest)
grpcapi/actionservice/UserActionService.go:235
MethodGet
(str string)
session/fakeSession.go:34
MethodGet
Get returns the value of the key provided
session/session.go:159
FunctionGetAllStocks
()
models/Stock.go:115
MethodGetCompanyProfile
(ctx context.Context, req *actions_pb.GetCompanyProfileRequest)
grpcapi/actionservice/StockActionService.go:100
MethodGetDailyChallengeConfig
(ctx context.Context, req *actions_pb.GetDailyChallengeConfigRequest)
grpcapi/actionservice/UserActionService.go:452
MethodGetDailyChallenges
(ctx context.Context, req *actions_pb.GetDailyChallengesRequest)
grpcapi/actionservice/UserActionService.go:343
MethodGetDailyLeaderboard
(ctx context.Context, req *actions_pb.GetDailyLeaderboardRequest)
grpcapi/actionservice/UserActionService.go:201
MethodGetGameStateStream
GetGameStateStream mocks base method
mocks/mock_Stream.go:133
MethodGetGameStateStream
GetGameStateStream indicates an expected call of GetGameStateStream
mocks/mock_Stream.go:140
MethodGetGameStateStream
()
datastreams/Stream.go:144
MethodGetGameStateUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetGameStateUpdatesServer)
grpcapi/streamservice/GameStateStreamService.go:11
MethodGetID
()
session/fakeSession.go:30
MethodGetID
GetId returns the ID of the session
session/session.go:124
FunctionGetInspectUserDetails
(userID uint32, transType bool, day uint32)
models/InspectDetails.go:30
MethodGetIpoStockList
(ctx context.Context, req *actions_pb.GetIpoStockListRequest)
grpcapi/actionservice/StockActionService.go:153
MethodGetLeaderboard
(ctx context.Context, req *actions_pb.GetLeaderboardRequest)
grpcapi/actionservice/UserActionService.go:168
MethodGetListenersCount
()
datastreams/BroadcastStream.go:105
MethodGetMarketDepthStream
GetMarketDepthStream mocks base method
mocks/mock_Stream.go:37
MethodGetMarketDepthStream
GetMarketDepthStream indicates an expected call of GetMarketDepthStream
mocks/mock_Stream.go:44
MethodGetMarketDepthStream
GetMarketDepthStream returns a singleton instance MarketDepthStream for a given stockId
datastreams/Stream.go:91
MethodGetMarketEventUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetMarketEventUpdatesServer)
grpcapi/streamservice/MarketStreamService.go:56
MethodGetMarketEvents
(ctx context.Context, req *actions_pb.GetMarketEventsRequest)
grpcapi/actionservice/UserActionService.go:69
MethodGetMarketEventsStream
GetMarketEventsStream mocks base method
mocks/mock_Stream.go:49
MethodGetMarketEventsStream
GetMarketEventsStream indicates an expected call of GetMarketEventsStream
mocks/mock_Stream.go:56
MethodGetMarketEventsStream
GetMarketEventsStream returns a singleton instance of MarketEvents stream
datastreams/Stream.go:103
MethodGetMortgageDetails
(ctx context.Context, req *actions_pb.GetMortgageDetailsRequest)
grpcapi/actionservice/MortgageActionService.go:122
MethodGetMyClosedAsks
Returns closed asks
grpcapi/actionservice/OrderActionService.go:299
MethodGetMyClosedBids
(ctx context.Context, req *actions_pb.GetMyClosedBidsRequest)
grpcapi/actionservice/OrderActionService.go:336
MethodGetMyIpoBids
(ctx context.Context, req *actions_pb.GetMyIpoBidsRequest)
grpcapi/actionservice/OrderActionService.go:373
MethodGetMyOpenOrders
Returns open asks and open bids
grpcapi/actionservice/OrderActionService.go:252
MethodGetMyOrderUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetMyOrderUpdatesServer)
grpcapi/streamservice/UserStreamService.go:11
MethodGetMyOrdersStream
GetMyOrdersStream mocks base method
mocks/mock_Stream.go:61
MethodGetMyOrdersStream
GetMyOrdersStream indicates an expected call of GetMyOrdersStream
mocks/mock_Stream.go:68
MethodGetMyOrdersStream
GetMyOrdersStream returns a singleton instance of MyOrders stream
datastreams/Stream.go:120
MethodGetMyReward
(ctx context.Context, req *actions_pb.GetMyRewardRequest)
grpcapi/actionservice/UserActionService.go:414
MethodGetMyUserState
(ctx context.Context, req *actions_pb.GetMyUserStateRequest)
grpcapi/actionservice/UserActionService.go:380
MethodGetNotificationUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetNotificationUpdatesServer)
grpcapi/streamservice/UserStreamService.go:53
MethodGetNotifications
(ctx context.Context, req *actions_pb.GetNotificationsRequest)
grpcapi/actionservice/UserActionService.go:102
MethodGetNotificationsStream
GetNotificationsStream mocks base method
mocks/mock_Stream.go:73
MethodGetNotificationsStream
GetNotificationsStream indicates an expected call of GetNotificationsStream
mocks/mock_Stream.go:80
MethodGetNotificationsStream
GetNotificationsStream returns a singleton instance of Notifications stream
datastreams/Stream.go:125
MethodGetPortfolio
(ctx context.Context, req *actions_pb.GetPortfolioRequest)
grpcapi/actionservice/UserActionService.go:14
MethodGetStockExchangeStream
GetStockExchangeStream mocks base method
mocks/mock_Stream.go:85
MethodGetStockExchangeStream
GetStockExchangeStream indicates an expected call of GetStockExchangeStream
mocks/mock_Stream.go:92
MethodGetStockExchangeStream
GetStockExchangeStream returns a singleton instance of StockExchange stream
datastreams/Stream.go:130
MethodGetStockExchangeUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetStockExchangeUpdatesServer)
grpcapi/streamservice/StockStreamService.go:56
MethodGetStockHistory
(ctx context.Context, req *actions_pb.GetStockHistoryRequest)
grpcapi/actionservice/StockActionService.go:69
MethodGetStockHistoryStream
GetStockHistoryStream mocks base method
mocks/mock_Stream.go:121
MethodGetStockHistoryStream
GetStockHistoryStream indicates an expected call of GetStockHistoryStream
mocks/mock_Stream.go:128
MethodGetStockHistoryStream
GetStockHistoryStream returns a singleton instance StockHistoryStream for a given stockId
datastreams/Stream.go:108
MethodGetStockHistoryUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetStockHistoryUpdatesServer)
grpcapi/streamservice/StockStreamService.go:12
MethodGetStockList
(ctx context.Context, req *actions_pb.GetStockListRequest)
grpcapi/actionservice/StockActionService.go:125
MethodGetStockPricesStream
GetStockPricesStream mocks base method
mocks/mock_Stream.go:97
MethodGetStockPricesStream
GetStockPricesStream indicates an expected call of GetStockPricesStream
mocks/mock_Stream.go:104
MethodGetStockPricesStream
GetStockPricesStream returns a singleton instance of StockPrices stream
datastreams/Stream.go:135
MethodGetStockPricesUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetStockPricesUpdatesServer)
grpcapi/streamservice/StockStreamService.go:98
MethodGetTransactionUpdates
(req *datastreams_pb.SubscriptionId, stream pb.DalalStreamService_GetTransactionUpdatesServer)
grpcapi/streamservice/UserStreamService.go:95
MethodGetTransactions
(ctx context.Context, req *actions_pb.GetTransactionsRequest)
grpcapi/actionservice/UserActionService.go:134
MethodGetTransactionsStream
GetTransactionsStream mocks base method
mocks/mock_Stream.go:109
MethodGetTransactionsStream
GetTransactionsStream indicates an expected call of GetTransactionsStream
mocks/mock_Stream.go:116
MethodGetTransactionsStream
GetTransactionsStream returns a singleton instance of Transactions stream
datastreams/Stream.go:140
FunctionGetUserBlockCount
(userId uint32)
models/User.go:2454
FunctionGetUserOTPRequestCount
(userId uint32)
models/User.go:2442
MethodHead
Head returns the highest/lowest priority item (depending on whether you're using a MINPQ or MAXPQ) from the priority queue
matchingengine/pqueue.go:198
MethodHead
Head returns the highest/lowest priority item (depending on whether you're using a MINPQ or MAXPQ) from the priority queue
matchingengine/pqueue.go:213
MethodHead
Head mocks base method
mocks/mock_pqueue.go:59
MethodHead
Head indicates an expected call of Head
mocks/mock_pqueue.go:66
MethodHead
Head mocks base method
mocks/mock_pqueue.go:140
MethodHead
Head indicates an expected call of Head
mocks/mock_pqueue.go:147
← previousnext →401–500 of 739, ranked by callers