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
Function
AddAssertData
(key string, value AssertData)
pkg/assert/assert.go:24
Function
AddAssertFlush
(flusher AssertFlush)
pkg/assert/assert.go:32
Method
AddKVArg
(name string, value string)
pkg/cmd/cmd.go:60
Method
AddVArg
(value string)
pkg/cmd/cmd.go:48
Method
Addr
()
pkg/api/client.go:111
Method
Addr
()
pkg/am-proxy/net.go:51
Method
AssertAddsAndRemoves
()
e2e-tests/sim/connections.go:59
Function
AssertConnectionsOnProxy
(state *ServerState, count int)
e2e-tests/sim/assert.go:41
Function
ClearSQLiteFiles
(path string)
pkg/game-server-stats/sqlite.go:73
Method
Close
()
pkg/am-proxy/matchmaking.go:119
Method
Close
()
pkg/am-proxy/net.go:39
Method
Close
()
pkg/am-proxy/am-proxy.go:28
Function
Colorizer
(colorCode int, v string)
pkg/pretty-log/log.go:121
Function
CreateLoggerFromEnv
(out *os.File)
pkg/pretty-log/log.go:417
Function
CreateMessage
(msg string)
pkg/packet/packet.go:103
Method
CreateNewServer
(ctx context.Context)
pkg/server-management/local.go:60
Function
CreateTCPConnectionFrom
(connString string)
pkg/am-proxy/net.go:19
Method
Enabled
(ctx context.Context, level slog.Level)
pkg/pretty-log/log.go:136
Method
Encoding
()
pkg/packet/packet_test.go:16
Function
EnsureSqliteURI
(path string)
pkg/game-server-stats/sqlite.go:144
Method
Equal
(other *GameServecConfigConnectionStats)
pkg/game-server-stats/stats.go:27
Method
Filter
(line LogLine)
cmd/log-parser/main.go:44
Method
Filter
(log LogLine)
cmd/log-parser/main.go:72
Method
GetBestServer
()
pkg/server-management/local.go:46
Method
GetById
(id string)
pkg/game-server-stats/sqlite.go:193
Method
GetConfigByHostAndPort
(host string, port uint16)
pkg/game-server-stats/sqlite.go:160
Method
GetConnectionString
(id string)
pkg/server-management/local.go:146
Method
GetServerCount
()
pkg/game-server-stats/sqlite.go:107
Method
GetServerCount
()
pkg/game-server-stats/stats.go:89
Method
GetServersByUtilization
(maxLoad float64)
pkg/game-server-stats/sqlite.go:205
Method
GetTotalConnectionCount
()
pkg/game-server-stats/sqlite.go:118
Method
Id
()
pkg/am-proxy/net.go:47
Function
IsServerAuth
(p *Packet)
pkg/packet/packet.go:286
Function
LegacyClientClose
()
pkg/packet/legacy-packet.go:20
Function
LegacyClientId
(id string)
pkg/packet/legacy-packet.go:11
Function
LegacyIsClientClosed
(data []byte)
pkg/packet/legacy-packet.go:28
Function
LegacyIsEmpty
(data []byte)
pkg/packet/legacy-packet.go:24
Method
Loop
()
pkg/api/server.go:245
Method
Network
()
cmd/dial/main.go:22
Function
NewAMProxy
(outer context.Context, servers GameServer, factory ConnectionFactory)
pkg/am-proxy/am-proxy.go:55
Function
NewClientFromConnString
(hostAndPort string, id [16]byte)
pkg/api/client.go:72
Function
NewLocalServers
(stats gameserverstats.GSSRetriever, params ServerParams)
pkg/server-management/local.go:36
Function
NewSqlite
(path string)
pkg/game-server-stats/sqlite.go:79
Function
NewTCPProxy
(proxy *AMProxy, port uint16)
pkg/am-proxy/net.go:63
Function
NewVec2
(x, y float64)
pkg/quick-math/Vec.go:9
Function
Nil
(item any, msg string, data ...any)
pkg/assert/assert.go:77
Function
ParseClientId
(packet string)
pkg/packet/legacy-packet.go:15
Method
Read
(data []byte)
pkg/packet/packet_test.go:25
Method
Read
(b []byte)
pkg/am-proxy/net.go:31
Method
Ready
()
pkg/server-management/local.go:181
Function
RemoveAssertData
(key string)
pkg/assert/assert.go:28
Method
Run
(env []string)
pkg/cmd/cmd.go:124
Method
Run
(ctx context.Context)
pkg/server-management/local.go:158
Method
Run
(ctx context.Context)
pkg/am-proxy/net.go:98
Method
Run
()
pkg/am-proxy/am-proxy.go:197
Method
Run
(outer context.Context)
cmd/reverse-proxy-test/main.go:34
Method
Run
(wait *sync.WaitGroup)
cmd/test/main.go:26
Method
String
()
e2e-tests/sim/state.go:33
Method
String
()
e2e-tests/sim/assert.go:104
Method
String
()
pkg/game-server-stats/stats.go:23
Method
String
()
pkg/game-server-stats/stats.go:74
Method
String
()
pkg/api/client.go:64
Method
String
()
pkg/server-management/local.go:185
Method
String
()
pkg/server-management/flyio.go:40
Method
String
()
pkg/packet/packet.go:202
Method
String
()
pkg/am-proxy/matchmaking.go:134
Method
String
()
pkg/am-proxy/net.go:43
Method
String
()
cmd/log-parser/main.go:52
Method
String
()
cmd/log-parser/main.go:89
Method
String
()
cmd/log-parser/main.go:129
Method
String
Network() string // name of the network (for example, "tcp", "udp") String() string // string form of address (for example, "192.0.2.1:25", "[2001:db
cmd/dial/main.go:18
Function
TestAABBIntersect
(t *testing.T)
pkg/quick-math/AABB_test.go:13
Function
TestMakingServerWithBatchRequest
(t *testing.T)
e2e-tests/matchmaking_test.go:37
Function
TestMatchMakingCreateServer
(t *testing.T)
e2e-tests/matchmaking_test.go:13
Function
TestPacketCreation
(t *testing.T)
pkg/packet/packet_test.go:29
Function
TestPacketFramer
(t *testing.T)
pkg/packet/packet_test.go:44
Function
TestPacketFromParts
(t *testing.T)
pkg/packet/packet_test.go:116
Function
TestReaderFramer
(t *testing.T)
pkg/packet/packet_test.go:76
Function
TestVec2Init
(t *testing.T)
pkg/quick-math/Vec_test.go:12
Function
TestVec2Operations
(t *testing.T)
pkg/quick-math/Vec_test.go:17
Function
ToWriter
(w io.Writer)
pkg/assert/assert.go:36
Function
Trace
(log *slog.Logger, msg string, data ...any)
pkg/pretty-log/log.go:431
Method
Type
()
pkg/packet/packet_test.go:20
Method
WaitForReady
TODO Add timeout...?
pkg/server-management/local.go:129
Method
WaitForReady
(ctx context.Context)
pkg/am-proxy/net.go:90
Method
WithAttrs
(attrs []slog.Attr)
pkg/pretty-log/log.go:140
Method
WithErr
(writer io.Writer)
pkg/cmd/cmd.go:70
Method
WithGroup
(name string)
pkg/pretty-log/log.go:144
Method
WithOut
(writer io.Writer)
pkg/cmd/cmd.go:80
Function
WithTimestamp
()
pkg/pretty-log/log.go:344
Function
WithoutColor
()
pkg/pretty-log/log.go:362
Method
Write
(b []byte)
pkg/am-proxy/net.go:35
Function
WriteAll
(data []byte, writer io.Writer)
pkg/utils/writer.go:7
Method
WriteLine
(b []byte)
pkg/cmd/cmd.go:108
Method
authenticate
()
pkg/api/client.go:181
Function
checkTableExists
(db *sqlx.DB)
pkg/game-server-stats/sqlite.go:15
Function
createMachine
()
pkg/server-management/flyio.go:44
Function
deleteTable
(db *sqlx.DB)
pkg/game-server-stats/sqlite.go:26
Function
destroyMachine
(machineId string)
pkg/server-management/flyio.go:180
Function
getId
()
pkg/api/server.go:19
← previous
next →
201–300 of 317, ranked by callers