Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePrimeagen/vim-arcade
/ functions
Functions
317 in github.com/ThePrimeagen/vim-arcade
⨍
Functions
317
◇
Types & classes
60
↓ 1 callers
Function
AssertServerStats
(state *ServerState, stats gameserverstats.GameServerConfig, dur time.Duration)
e2e-tests/sim/assert.go:45
↓ 1 callers
Method
Close
()
pkg/am-proxy/net.go:137
↓ 1 callers
Function
CreateCloseConnection
()
pkg/packet/packet.go:123
↓ 1 callers
Function
CreateLoggerSink
()
pkg/pretty-log/log.go:402
↓ 1 callers
Function
CreateServerAuthResponse
(accepted bool, id string)
pkg/packet/packet.go:111
↓ 1 callers
Method
DeleteGameServerConfig
(id string)
pkg/game-server-stats/sqlite.go:174
↓ 1 callers
Method
Dump
()
pkg/assert/assert.go:14
↓ 1 callers
Method
Encoding
()
pkg/packet/packet.go:60
↓ 1 callers
Method
Encoding
()
pkg/packet/packet.go:190
↓ 1 callers
Method
FinishRound
()
e2e-tests/sim/connections.go:70
↓ 1 callers
Method
Flush
()
pkg/assert/assert.go:17
↓ 1 callers
Method
GetAllGameServerConfigs
()
pkg/game-server-stats/sqlite.go:181
↓ 1 callers
Method
GetBestServer
()
pkg/am-proxy/game.go:12
↓ 1 callers
Method
GetConnectionString
(id string)
pkg/am-proxy/game.go:15
↓ 1 callers
Function
GetHostAndPort
()
pkg/api/utils.go:21
↓ 1 callers
Method
Handle
(ctx context.Context, r slog.Record)
pkg/pretty-log/log.go:236
↓ 1 callers
Method
Id
()
pkg/am-proxy/game.go:23
↓ 1 callers
Function
IsCloseConnection
(p *Packet)
pkg/packet/packet.go:283
↓ 1 callers
Method
Len
()
pkg/packet/packet.go:176
↓ 1 callers
Method
Mul
(other Vec2)
pkg/quick-math/Vec.go:17
↓ 1 callers
Function
New
(handlerOptions *slog.HandlerOptions, options ...Option)
pkg/pretty-log/log.go:308
↓ 1 callers
Function
NewCmder
(name string, ctx context.Context)
pkg/cmd/cmd.go:37
↓ 1 callers
Function
NewConnection
(conn net.Conn)
pkg/am-proxy/net.go:73
↓ 1 callers
Function
NewContextReader
(ctx context.Context)
pkg/utils/context.go:17
↓ 1 callers
Function
NewGameServerRunner
(db gameserverstats.GSSRetriever, stats gameserverstats.GameServerConfig)
pkg/api/server.go:35
↓ 1 callers
Function
NewHandler
(opts *slog.HandlerOptions, params PrettyLoggerParams, options ...Option)
pkg/pretty-log/log.go:333
↓ 1 callers
Function
NewMatchMakingServer
(servers GameServer)
pkg/am-proxy/matchmaking.go:124
↓ 1 callers
Function
NewParams
(out io.Writer)
pkg/pretty-log/log.go:379
↓ 1 callers
Function
NewParser
(fh *os.File, filters []IFilter)
cmd/log-parser/main.go:98
↓ 1 callers
Function
NewRoundFilter
(round int)
cmd/log-parser/main.go:37
↓ 1 callers
Function
NewSimulation
(params SimulationParams)
e2e-tests/sim/sim.go:42
↓ 1 callers
Function
NewSimulationConnections
(f TestingClientFactory, r *rand.Rand)
e2e-tests/sim/connections.go:34
↓ 1 callers
Function
NewStateWaiter
(stats gameserverstats.GSSRetriever)
e2e-tests/sim/state.go:64
↓ 1 callers
Method
Next
()
cmd/log-parser/main.go:105
↓ 1 callers
Function
PrettyLine
(data map[string]any, colorize func(code int, value string) string)
pkg/pretty-log/log.go:169
↓ 1 callers
Function
ProxiedFromConn
(from net.Conn, addr string)
cmd/reverse-proxy-test/main.go:24
↓ 1 callers
Method
Remove
(count int)
e2e-tests/sim/connections.go:107
↓ 1 callers
Method
Run
(outerCtx context.Context)
pkg/api/server.go:106
↓ 1 callers
Method
RunSimulation
(ctx context.Context)
e2e-tests/sim/sim.go:77
↓ 1 callers
Method
Scale
(scalar float64)
pkg/quick-math/Vec.go:21
↓ 1 callers
Function
ServerAuthGameId
ok here is the other verson of the same thing
pkg/packet/packet.go:291
↓ 1 callers
Function
SetProgramLevelPrettyLogger
(params PrettyLoggerParams)
pkg/pretty-log/log.go:387
↓ 1 callers
Method
StartRound
(adds int, removes int)
e2e-tests/sim/connections.go:52
↓ 1 callers
Method
StartRound
()
e2e-tests/sim/state.go:72
↓ 1 callers
Method
String
()
e2e-tests/sim/sim.go:69
↓ 1 callers
Method
Type
shit shit
pkg/packet/packet.go:186
↓ 1 callers
Function
TypeToString
(t PacketType)
pkg/packet/packet.go:63
↓ 1 callers
Method
Update
(stat GameServerConfig)
pkg/game-server-stats/sqlite.go:131
↓ 1 callers
Method
WaitForDone
()
pkg/api/client.go:173
↓ 1 callers
Method
WaitForRound
(added, removed int, t time.Duration)
e2e-tests/sim/state.go:82
↓ 1 callers
Function
WithColor
()
pkg/pretty-log/log.go:356
↓ 1 callers
Function
WithDestinationWriter
(writer io.Writer)
pkg/pretty-log/log.go:350
↓ 1 callers
Method
WithErrFn
(fn writerFn)
pkg/cmd/cmd.go:65
↓ 1 callers
Method
WithOutFn
(fn writerFn)
pkg/cmd/cmd.go:75
↓ 1 callers
Function
WithOutputEmptyAttrs
()
pkg/pretty-log/log.go:368
↓ 1 callers
Method
WithPort
(port uint16)
e2e-tests/sim/connections.go:171
↓ 1 callers
Method
allowedToConnect
(AMConnection)
pkg/am-proxy/am-proxy.go:70
↓ 1 callers
Method
authenticate
(*packet.Packet)
pkg/am-proxy/am-proxy.go:95
↓ 1 callers
Function
clearCreationConfigs
(server *ServerState, configs []gameserverstats.GameServerConfig)
e2e-tests/sim/create_env.go:99
↓ 1 callers
Method
closeDown
()
pkg/api/server.go:203
↓ 1 callers
Method
computeAttrs
( ctx context.Context, r slog.Record, )
pkg/pretty-log/log.go:148
↓ 1 callers
Function
copyDBFile
(path string)
e2e-tests/sim/create_env.go:77
↓ 1 callers
Method
createAndWait
(ctx context.Context)
pkg/am-proxy/matchmaking.go:54
↓ 1 callers
Function
createMatchMaking
()
cmd/sim/long-running/main.go:21
↓ 1 callers
Function
createServer
(ctx context.Context, server *ServerState, logger *slog.Logger)
e2e-tests/sim/create_env.go:22
↓ 1 callers
Function
getAreaColor
(area string)
pkg/pretty-log/log.go:80
↓ 1 callers
Function
getEnvVars
()
pkg/server-management/local.go:28
↓ 1 callers
Function
getLogger
()
pkg/game-server-stats/sqlite.go:69
↓ 1 callers
Function
getNextId
()
cmd/test/main.go:11
↓ 1 callers
Function
getProcessColor
TODO make this better
pkg/pretty-log/log.go:67
↓ 1 callers
Function
getRound
(log LogLine)
cmd/log-parser/main.go:81
↓ 1 callers
Method
handleConnection
(ctx context.Context, conn net.Conn, id int)
pkg/api/server.go:84
↓ 1 callers
Method
handleConnection
(w *AMConnectionWrapper)
pkg/am-proxy/am-proxy.go:112
↓ 1 callers
Method
handleConnectionLifecycles
(w *AMConnectionWrapper)
pkg/am-proxy/am-proxy.go:160
↓ 1 callers
Method
handleStatUpdating
(ctx context.Context)
pkg/api/server.go:182
↓ 1 callers
Function
hydrateServers
(ctx context.Context, server *ServerState, logger *slog.Logger)
e2e-tests/sim/create_env.go:38
↓ 1 callers
Method
idle
()
pkg/api/server.go:225
↓ 1 callers
Method
innerListenForConnections
(listener net.Listener)
pkg/api/server.go:49
↓ 1 callers
Function
internalRead
(in io.Reader, out chan []byte, err chan error)
pkg/utils/context.go:25
↓ 1 callers
Function
isHandledKey
(key string)
pkg/pretty-log/log.go:91
↓ 1 callers
Function
isPipedStdin
()
cmd/log-parser/main.go:179
↓ 1 callers
Function
listen
(listener net.Listener, ch chan net.Conn)
pkg/am-proxy/net.go:80
↓ 1 callers
Function
machineCreateUrl
()
pkg/server-management/flyio.go:14
↓ 1 callers
Function
machineDestroy
(machineId string)
pkg/server-management/flyio.go:26
↓ 1 callers
Function
machineStart
(machineId string)
pkg/server-management/flyio.go:18
↓ 1 callers
Function
machineStop
(machineId string)
pkg/server-management/flyio.go:22
↓ 1 callers
Method
matchmake
TODO(v1) create no garbage ([]byte...)
pkg/am-proxy/matchmaking.go:94
↓ 1 callers
Function
pipe_conn
(mut tcp: TcpStream, args: &Args)
src/main.rs:20
↓ 1 callers
Method
pull
()
pkg/packet/packet.go:241
↓ 1 callers
Function
readInt
(key string, d int)
pkg/am-proxy/am-proxy-config.go:14
↓ 1 callers
Method
ready
()
pkg/api/server.go:212
↓ 1 callers
Method
refresh
(ctx context.Context)
pkg/server-management/local.go:155
↓ 1 callers
Method
startWaiting
()
pkg/am-proxy/matchmaking.go:28
↓ 1 callers
Function
stateToString
(state State)
pkg/game-server-stats/stats.go:59
↓ 1 callers
Method
stopWaiting
()
pkg/am-proxy/matchmaking.go:42
↓ 1 callers
Function
stringifyAttrs
(attrs map[string]any)
pkg/pretty-log/log.go:96
↓ 1 callers
Function
suppressDefaults
( next func([]string, slog.Attr) slog.Attr, )
pkg/pretty-log/log.go:292
↓ 1 callers
Function
toFilters
(lines []string)
cmd/log-parser/main.go:154
↓ 1 callers
Method
to_string
Required method
src/main.rs:15
Function
AMProxyConfigFromEnv
()
pkg/am-proxy/am-proxy-config.go:26
← previous
next →
101–200 of 317, ranked by callers