MCPcopy Create free account

hub / github.com/ankorstore/yokai / functions

Functions2,008 in github.com/ankorstore/yokai

↓ 10 callersMethodWrite
Write writes into the internal buffer.
log/logtest/buffer.go:44
↓ 10 callersFunctionprepareTestServiceGrpcServerAndClient
(t *testing.T, logger *log.Logger, exclusions []string, metadata map[string]string, withTestInterceptors bool)
grpcserver/logger_test.go:752
↓ 9 callersMethodAfter
(context.Context, *HookEvent)
sql/hook.go:12
↓ 9 callersMethodExec
Exec executes a statement and returns a driver.Result.
sql/statement.go:51
↓ 9 callersMethodKinds
()
fxhealthcheck/define.go:8
↓ 9 callersMethodLogMode
LogMode sets the logger log level.
orm/logger.go:30
↓ 9 callersMethodRecords
Records return the list of [TestLogRecord] from the internal buffer.
log/logtest/buffer.go:62
↓ 9 callersMethodRecv
()
grpcserver/testdata/proto/test_grpc.pb.go:57
↓ 9 callersMethodSend
(*Request)
grpcserver/testdata/proto/test_grpc.pb.go:56
↓ 9 callersMethodToZerolog
ToZerolog converts as [Logger] into a [Zerolog logger]. [Zerolog logger]: https://github.com/rs/zerolog/blob/master/log.go
log/logger.go:28
↓ 9 callersFunctioncreateTestLogTools
(t *testing.T)
sql/register_test.go:779
↓ 9 callersFunctioncreateTestTraceTools
(t *testing.T)
sql/register_test.go:792
↓ 9 callersFunctionregisterTestDriver
(t *testing.T)
sql/register_test.go:728
↓ 8 callersMethodContainAttributes
ContainAttributes returns true if the [TestLogRecord] partially matches provided attributes. nolint:cyclop
log/logtest/record.go:143
↓ 8 callersMethodExecution
Execution returns the [WorkerExecution] from the [WorkerPool] for a given worker name.
worker/pool.go:123
↓ 8 callersMethodExpression
()
fxcron/define.go:10
↓ 8 callersMethodHooks
Hooks returns the Configuration list of Hook.
sql/configuration.go:23
↓ 8 callersMethodMaxExecutionsAttempts
MaxExecutionsAttempts returns the [WorkerExecution] max execution attempts.
worker/execution.go:96
↓ 8 callersMethodName
()
healthcheck/probe.go:9
↓ 8 callersMethodName
()
fxcron/registry.go:12
↓ 8 callersFunctionNewMiddlewareDefinition
NewMiddlewareDefinition returns a new [MiddlewareDefinition].
fxhttpserver/define.go:16
↓ 8 callersMethodProbe
Probe returns the [CheckerProbe] of the [CheckerProbeRegistration].
healthcheck/checker.go:28
↓ 8 callersMethodRegisterProbe
RegisterProbe registers a [CheckerProbe] for an optional list of [ProbeKind]. If no [ProbeKind] is provided, the [CheckerProbe] will be registered for
healthcheck/checker.go:82
↓ 8 callersMethodResolveHandlers
ResolveHandlers resolves a list of [ResolvedHandler] from their definitions.
fxhttpserver/registry.go:78
↓ 8 callersMethodRunning
Running returns true if the MCPSSEServer is running.
fxmcpserver/server/sse/server.go:90
↓ 8 callersMethodStart
Start starts all [Worker] registered in the [WorkerPool].
worker/pool.go:61
↓ 8 callersMethodString
String returns a string representation of a [LogOutputWriter]. nolint:exhaustive
log/enum.go:52
↓ 7 callersMethodAppDescription
AppDescription returns the configured application description (from config field app.description or env var APP_DESCRIPTION).
config/config.go:36
↓ 7 callersMethodConfig
Config returns the MCPSSEServer config.
fxmcpserver/server/sse/server.go:45
↓ 7 callersMethodExecutions
Executions returns the [WorkerPool] list of [WorkerExecution].
worker/pool.go:115
↓ 7 callersMethodFind
Find returns a [FxModuleInfo] by name.
fxcore/info.go:182
↓ 7 callersMethodLevel
Level returns the log level.
httpserver/logger.go:62
↓ 7 callersMethodName
()
healthcheck/testdata/probes/success.go:15
↓ 7 callersMethodName
()
fxsql/seeder.go:12
↓ 7 callersMethodPrefix
()
fxhttpserver/resolve.go:81
↓ 7 callersMethodRun
(ctx context.Context, db *sql.DB)
fxsql/seeder.go:13
↓ 7 callersFunctionSanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
fxcron/util.go:17
↓ 7 callersMethodlogJSON
(event *zerolog.Event, j echologger.JSON)
httpserver/logger.go:187
↓ 6 callersMethodAttribute
Attribute returns an attribute of the [TestLogRecord] by name.
log/logtest/record.go:81
↓ 6 callersMethodAuxiliary
(name string)
fxsql/pool.go:26
↓ 6 callersMethodBidi
(ctx context.Context, opts ...grpc.CallOption)
grpcserver/testdata/proto/test_grpc.pb.go:26
↓ 6 callersMethodCreate
(mcpServer *server.MCPServer, options ...server.StreamableHTTPOption)
fxmcpserver/server/stream/factory.go:19
↓ 6 callersMethodCreate
(mcpServer *server.MCPServer, options ...server.SSEOption)
fxmcpserver/server/sse/factory.go:23
↓ 6 callersMethodDescription
()
fxgrpcserver/define.go:8
↓ 6 callersMethodGenerate
()
generate/uuidv6/generator.go:7
↓ 6 callersMethodGenerate
()
generate/uuidv7/generator.go:7
↓ 6 callersFunctionGetReturnType
GetReturnType returns a stable identifier for the return type of constructor-like target. If a target is a function, we examine its first return value
fxhttpserver/reflect.go:37
↓ 6 callersMethodHandle
Handle handles the panic recovery.
grpcserver/panic.go:24
↓ 6 callersMethodId
Id returns the [WorkerExecution] id.
worker/execution.go:36
↓ 6 callersMethodIsDevEnv
IsDevEnv returns if the application is running in dev mode.
config/config.go:61
↓ 6 callersMethodIsProdEnv
IsProdEnv returns if the application is running in prod mode.
config/config.go:56
↓ 6 callersMethodJobExecutions
(jobName string)
fxcron/testdata/cron/tracker/tracker.go:30
↓ 6 callersMethodNext
(dest []driver.Value)
sql/statement_test.go:114
↓ 6 callersMethodOptions
()
fxworker/define.go:29
↓ 6 callersMethodRoundTrip
(*http.Request)
httpclient/transport/logger_test.go:24
↓ 6 callersFunctionSanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
worker/util.go:6
↓ 6 callersMethodStreamInterceptor
StreamInterceptor handles the stream requests. nolint:cyclop,dupl,gocognit,nestif
grpcserver/logger.go:169
↓ 6 callersMethodUnaryInterceptor
UnaryInterceptor handles the unary requests. nolint:cyclop,dupl,gocognit,nestif
grpcserver/logger.go:59
↓ 6 callersMethodWarn
Warn logs with warn level.
orm/logger.go:44
↓ 6 callersMethodWarn
Warn produces a log with warn level.
httpserver/logger.go:113
↓ 6 callersMethodWithOptions
WithOptions is used to pass a list of [fx.Option].
fxcore/bootstrap.go:38
↓ 6 callersMethodafter
()
orm/plugin/trace.go:94
↓ 6 callersMethodbefore
(spanName string)
orm/plugin/trace.go:84
↓ 6 callersFunctionregisterNamedTestDriver
(t *testing.T, name string)
sql/register_test.go:753
↓ 5 callersMethodAfter
After executes SQL tracing logic after SQL operations.
sql/hook/trace/hook.go:69
↓ 5 callersMethodAuxiliaries
()
fxsql/pool.go:34
↓ 5 callersMethodBase
Base returns the wrapped [http.Transport].
httpclient/transport/base.go:47
↓ 5 callersMethodBefore
Before executes SQL tracing logic before SQL operations.
sql/hook/trace/hook.go:35
↓ 5 callersMethodConfig
Config returns the MCPStreamableHTTPServer config.
fxmcpserver/server/stream/server.go:44
↓ 5 callersMethodDebugf
Debugf produces a formatted log with debug level.
httpserver/logger.go:88
↓ 5 callersMethodDeferredStartThreshold
DeferredStartThreshold returns the [WorkerExecution] max deferred start threshold, in seconds.
worker/execution.go:114
↓ 5 callersMethodGroup
()
fxcore/task.go:25
↓ 5 callersMethodHasRecord
(expectedAttributes map[string]interface{})
log/logtest/buffer.go:19
↓ 5 callersMethodInfo
Info returns the MCPStreamableHTTPServer information.
fxmcpserver/server/stream/server.go:97
↓ 5 callersFunctionIsConcreteMiddleware
IsConcreteMiddleware returns true if the middleware is a concrete [echo.MiddlewareFunc] implementation.
fxhttpserver/reflect.go:47
↓ 5 callersMethodLatency
Latency returns the HookEvent latency (duration between start and end times).
sql/hook.go:109
↓ 5 callersMethodMatchAttributes
MatchAttributes returns true if the [TestLogRecord] exactly matches provided attributes. nolint:cyclop
log/logtest/record.go:93
↓ 5 callersMethodQueryContext
QueryContext executes a statement for a context and returns a driver.Rows.
sql/statement.go:139
↓ 5 callersMethodRegister
Register registers the [WorkerMetrics] against a [prometheus.Registry].
worker/metrics.go:46
↓ 5 callersMethodResolveHandlersGroups
ResolveHandlersGroups resolves a list of [ResolvedHandlersGroup] from their definitions.
fxhttpserver/registry.go:105
↓ 5 callersMethodResolveMiddlewares
ResolveMiddlewares resolves a list of [ResolvedMiddleware] from their definitions.
fxhttpserver/registry.go:60
↓ 5 callersMethodRun
(ctx context.Context)
worker/worker.go:8
↓ 5 callersMethodRunning
Running returns true if the MCPStreamableHTTPServer is running.
fxmcpserver/server/stream/server.go:89
↓ 5 callersMethodSetLevel
SetLevel sets the log level.
httpserver/logger.go:67
↓ 5 callersMethodStop
Stop gracefully stops all [Worker] registered in the [WorkerPool].
worker/pool.go:73
↓ 5 callersMethodString
String returns a string representation of the [WorkerStatus]. nolint:exhaustive
worker/enum.go:17
↓ 5 callersFunctionboundedContext
boundedContext derives a child context capped at the smaller of `limit` and half of the parent's remaining deadline. The fraction leaves room for any
fxtrace/module.go:113
↓ 5 callersFunctionprepareHealthCheckServiceGrpcServerAndClient
(t *testing.T, checker *healthcheck.Checker, logger *log.Logger)
grpcserver/healthcheck_test.go:155
↓ 4 callersMethodAfter
After executes SQL logging logic after SQL operations.
sql/hook/log/hook.go:35
↓ 4 callersMethodBefore
Before executes SQL logging logic before SQL operations.
sql/hook/log/hook.go:30
↓ 4 callersMethodBootstrapApp
BootstrapApp boostrap the application, accepting optional bootstrap options.
fxcore/bootstrap.go:45
↓ 4 callersMethodBootstrapTestApp
BootstrapTestApp boostrap the application in test mode, accepting a testing context and optional bootstrap options.
fxcore/bootstrap.go:55
↓ 4 callersFunctionConvertNamedValuesToValues
ConvertNamedValuesToValues converts a list of driver.NamedValue into a list of driver.Value.
sql/convert.go:8
↓ 4 callersMethodCreate
Create returns a new [Config], and accepts a list of [ConfigOption]. For example: var cfg, _ = config.NewDefaultConfigFactory().Create() is equival
config/factory.go:36
↓ 4 callersMethodErrors
()
fxmetrics/testdata/spy/spy.go:22
↓ 4 callersMethodFailures
()
fxmetrics/testdata/spy/spy.go:18
↓ 4 callersMethodFn
()
fxvalidator/define.go:37
↓ 4 callersFunctionFuncName
FuncName returns a readable func name for code browsing purposes.
fxmcpserver/server/util.go:10
↓ 4 callersMethodGenerate
Generate returns the configured deterministic value.
generate/generatetest/uuidv6/generator.go:37
↓ 4 callersMethodGenerate
Generate returns the configured deterministic value.
generate/generatetest/uuid/generator.go:25
← previousnext →101–200 of 2,008, ranked by callers