MCPcopy Create free account

hub / github.com/barkyq/gnost-relay / functions

Functions29 in github.com/barkyq/gnost-relay

↓ 11 callersMethodDone
Done() must be called after calling Settings() or NIP11()
config.go:40
↓ 8 callersFunctionfastjsonArrayToStringList
fastjson helpers
helpers.go:492
↓ 5 callersMethodParse
(nip11_document_bytes []byte)
nip11.go:14
↓ 4 callersMethodSettings
()
config.go:32
↓ 3 callersMethodError
()
nip11.go:76
↓ 3 callersMethodRelease
()
helpers.go:44
↓ 3 callersMethodstore_event
unexported. more efficient by reusing memory allocations
storage.go:25
↓ 2 callersMethodAccept
Match returns true if the q filter accepts the p DBNotification.
helpers.go:392
↓ 2 callersMethodRelease
()
helpers.go:54
↓ 2 callersMethodparseSettings
(filename string)
config.go:100
↓ 1 callersMethodCull
(pf_buf []ParsedFilter)
helpers.go:85
↓ 1 callersFunctionEventSubmissionHandler
(event_chan chan EventSubmission, dbpool *pgxpool.Pool, logger *log.Logger, c *Config)
main.go:484
↓ 1 callersFunctionInitConfig
Config Hot Reloading
config.go:45
↓ 1 callersFunctionInitStorage
()
storage.go:82
↓ 1 callersMethodNIP11
()
config.go:35
↓ 1 callersFunctionNIP11_EscapeHatch
(encoding []byte)
nip11.go:51
↓ 1 callersFunctionReqSubmissionHandler
(req_chan chan ReqSubmission, close_chan chan CloseSubmission, dbpool *pgxpool.Pool, logger *log.Logger)
main.go:544
↓ 1 callersFunctionSQL
(filters []ParsedFilter, string_buf_pool *sync.Pool, any_buf_pool *sync.Pool, max_limit int)
helpers.go:58
↓ 1 callersMethodUnmarshalJSON
(payload []byte)
config.go:135
↓ 1 callersFunctionfastjsonArrayToIntList
(v *fastjson.Value)
helpers.go:510
↓ 1 callersFunctionhandle_websocket
(cancel context.CancelFunc, wg *sync.WaitGroup, handshake *ws.Handshake, bytes_buf_pool, flate_reader_pool, fl
websocket.go:27
↓ 1 callersMethodsql
(params []any, string_buf_pool *sync.Pool)
helpers.go:101
MethodEscape
()
nip11.go:80
MethodStoreEvent
(dbconn *pgxpool.Conn)
storage.go:17
MethodUnmarshalJSON
(payload []byte)
helpers.go:237
MethodUnmarshalJSON
(payload []byte)
helpers.go:324
Functiongen_sql_dollar_quote
to prevent SQL injections, use $tag$ string $tag$ construction, with random tag
helpers.go:528
Functionmain
()
main.go:59
Functionnegotiate
var ws_upgrade_params = wsflate.Parameters{ ServerNoContextTakeover: false, // default: server can reuse LZ77 buffer ClientNoContextTakeover: false,
websocket.go:270