MCPcopy Create free account

hub / github.com/ankorstore/yokai / functions

Functions2,008 in github.com/ankorstore/yokai

↓ 318 callersMethodError
Error returns the HookEvent error.
sql/hook.go:69
↓ 206 callersMethodString
String returns a string representation of a [MiddlewareKind].
fxhttpserver/enum.go:13
↓ 150 callersMethodCreate
(options ...HttpServerOption)
httpserver/factory.go:9
↓ 147 callersMethodAdd
(name string, driver *Driver)
sql/registry.go:12
↓ 128 callersMethodString
String returns a string representation of the [ProbeKind]. nolint:exhaustive
healthcheck/enum.go:15
↓ 118 callersMethodWithContext
WithContext is used to pass a parent [context.Context].
fxcore/bootstrap.go:31
↓ 103 callersMethodRun
(ctx context.Context, input []byte)
fxcore/task.go:21
↓ 89 callersMethodErrorf
(format string, args ...interface{})
fxorm/module_test.go:29
↓ 89 callersMethodGet
(name string)
sql/registry.go:13
↓ 89 callersMethodString
String returns a string representation of the System.
sql/system.go:16
↓ 72 callersMethodString
()
grpcserver/testdata/proto/test.pb.go:42
↓ 66 callersMethodProvide
()
fxmcpserver/server/provider.go:25
↓ 59 callersMethodClose
Close closes the Statement.
sql/statement.go:41
↓ 56 callersMethodString
String returns a string representation of the [Sampler]. nolint:exhaustive
trace/enum.go:60
↓ 55 callersMethodInfo
Info returns the MCPSSEServer information.
fxmcpserver/server/sse/server.go:98
↓ 50 callersMethodStart
Start records the HookEvent start time.
sql/hook.go:95
↓ 44 callersMethodError
Error produces a log with error level.
httpserver/logger.go:128
↓ 44 callersMethodHandle
()
worker/middleware.go:8
↓ 40 callersMethodStart
Start starts the MCPSSEServer.
fxmcpserver/server/sse/server.go:50
↓ 39 callersMethodHttpServer
HttpServer returns the core http server.
fxcore/core.go:36
↓ 36 callersMethodOptions
()
fxcron/define.go:11
↓ 35 callersMethodErrorf
Errorf produces a formatted log with error level.
httpserver/logger.go:133
↓ 32 callersMethodCreate
(options ...OrmOption)
orm/factory.go:15
↓ 32 callersMethodDebug
Debug produces a log with debug level.
httpserver/logger.go:83
↓ 32 callersMethodSystem
System returns the HookEvent System.
sql/hook.go:39
↓ 30 callersMethodCreate
(options ...gocron.SchedulerOption)
fxcron/factory.go:9
↓ 30 callersMethodDB
()
fxsql/database.go:23
↓ 29 callersMethodSleep
(d time.Duration)
fxclock/testdata/service/service.go:21
↓ 29 callersMethodStop
Stop records the HookEvent stop time.
sql/hook.go:102
↓ 28 callersMethodClose
()
fxmcpserver/fxmcpservertest/sse.go:44
↓ 28 callersMethodNow
()
fxclock/testdata/service/service.go:17
↓ 27 callersMethodInfo
Info logs with info level.
orm/logger.go:51
↓ 27 callersMethodString
()
fxgrpcserver/testdata/proto/test.pb.go:42
↓ 25 callersMethodInfo
Info produces a log with info level.
httpserver/logger.go:98
↓ 25 callersFunctioncreateTestConfig
()
config/config_test.go:227
↓ 24 callersMethodRunTestApp
RunTestApp runs the application in test mode, accepting a testing context and optional runtime options.
fxcore/bootstrap.go:75
↓ 23 callersMethodCreate
(options ...GrpcServerOption)
grpcserver/factory.go:10
↓ 22 callersMethodHandler
()
fxhttpserver/resolve.go:38
↓ 22 callersMethodIsTestEnv
IsTestEnv returns if the application is running in test mode.
config/config.go:66
↓ 22 callersMethodOpen
Open returns a new Connection.
sql/driver.go:37
↓ 21 callersMethodWorker
Worker returns the [Worker] of the [WorkerRegistration].
worker/worker.go:26
↓ 20 callersMethodHasEvent
HasEvent returns true if a [WorkerExecutionEvent] was found for a given message.
worker/execution.go:150
↓ 20 callersMethodName
()
fxmcpserver/server/registry.go:11
↓ 20 callersMethodOperation
Operation returns the HookEvent Operation.
sql/hook.go:44
↓ 20 callersMethodQuery
Query returns the HookEvent query.
sql/hook.go:49
↓ 20 callersMethodSetError
SetError sets the HookEvent error.
sql/hook.go:88
↓ 19 callersMethodAppName
()
fxgrpcserver/testdata/service/dependency.go:17
↓ 19 callersMethodCreate
(options ...server.ServerOption)
fxmcpserver/server/factory.go:17
↓ 19 callersMethodKind
()
fxhttpserver/resolve.go:8
↓ 19 callersMethodRegister
(name string, fn func(*gorm.DB))
orm/plugin/trace.go:23
↓ 19 callersMethodValue
()
fxcore/info.go:17
↓ 18 callersMethodAppDebug
AppDebug returns if the application debug mode is enabled (from config field app.debug or env var APP_DEBUG).
config/config.go:51
↓ 18 callersMethodCheck
Check executes all the registered probes for a [ProbeKind], passes a [context.Context] to each of them, and returns a [CheckerResult]. The [CheckerRes
healthcheck/checker.go:98
↓ 17 callersFunctionNewHookEvent
NewHookEvent returns a new HookEvent.
sql/hook.go:29
↓ 16 callersMethodAppEnv
AppEnv returns the configured application environment (from config field app.env or env var APP_ENV).
config/config.go:41
↓ 16 callersMethodCheck
(ctx context.Context)
healthcheck/probe.go:10
↓ 16 callersMethodName
()
worker/worker.go:7
↓ 16 callersMethodPath
()
fxhttpserver/resolve.go:37
↓ 15 callersMethodGenerate
()
generate/uuid/generator.go:7
↓ 15 callersMethodMiddleware
()
fxhttpserver/resolve.go:7
↓ 15 callersMethodProbes
Probes returns the list of [CheckerProbe] registered for the provided list of [ProbeKind]. If no [ProbeKind] is provided, probes matching all kinds wi
healthcheck/checker.go:64
↓ 14 callersMethodAppName
AppName returns the configured application name (from config field app.name or env var APP_NAME).
config/config.go:31
↓ 14 callersMethodContainSpan
ContainSpan return true if a trace span from the in memory internal buffer is partially matching provided name and attributes. nolint:cyclop,gocognit
trace/tracetest/exporter.go:101
↓ 14 callersMethodHasSpan
(expectedName string, expectedAttributes ...attribute.KeyValue)
trace/tracetest/exporter.go:19
↓ 14 callersMethodOptions
()
fxmcpserver/server/registry.go:12
↓ 14 callersMethodRowsAffected
RowsAffected returns the HookEvent database affected rows.
sql/hook.go:64
↓ 13 callersMethodArguments
Arguments returns the HookEvent query arguments.
sql/hook.go:54
↓ 13 callersMethodCreate
(options ...WorkerPoolOption)
worker/factory.go:5
↓ 13 callersMethodExecContext
ExecContext executes a statement for a context and returns a driver.Result.
sql/statement.go:82
↓ 13 callersMethodHandle
()
fxmcpserver/server/registry.go:13
↓ 13 callersMethodHasSpan
HasSpan return true if a trace span from the in memory internal buffer is exactly matching provided name and attributes.
trace/tracetest/exporter.go:65
↓ 13 callersMethodLastInsertId
LastInsertId returns the HookEvent database last inserted id.
sql/hook.go:59
↓ 13 callersMethodReset
Reset resets the internal buffer.
log/logtest/buffer.go:52
↓ 13 callersMethodSetLastInsertId
SetLastInsertId sets the HookEvent database last inserted id.
sql/hook.go:74
↓ 13 callersMethodSetRowsAffected
SetRowsAffected sets the HookEvent database affected rows.
sql/hook.go:81
↓ 13 callersMethodString
String returns a string representation of the [Driver].
orm/enum.go:21
↓ 12 callersMethodAppVersion
AppVersion returns the configured application version (from config field app.version or env var APP_VERSION).
config/config.go:46
↓ 12 callersMethodCreate
(system System, hooks ...Hook)
sql/factory.go:13
↓ 12 callersMethodMethod
()
fxhttpserver/resolve.go:36
↓ 12 callersMethodName
()
fxcore/task.go:20
↓ 12 callersMethodPrimary
()
fxsql/pool.go:22
↓ 12 callersMethodStop
Stop stops the MCPSSEServer.
fxmcpserver/server/sse/server.go:72
↓ 12 callersMethodUnary
(ctx context.Context, in *Request, opts ...grpc.CallOption)
grpcserver/testdata/proto/test_grpc.pb.go:25
↓ 11 callersMethodAddEvent
AddEvent adds a [WorkerExecutionEvent] to the [WorkerExecution].
worker/execution.go:140
↓ 11 callersMethodContainRecord
ContainRecord return true if a log record from the internal buffer is partially matching provided attributes.
log/logtest/buffer.go:108
↓ 11 callersMethodEvents
Events returns the [WorkerExecution] list of [WorkerExecutionEvent].
worker/execution.go:132
↓ 11 callersMethodHasRecord
HasRecord return true if a log record from the internal buffer is exactly matching provided attributes.
log/logtest/buffer.go:92
↓ 11 callersMethodImplementation
Implementation returns the [ResolvedCronJob] cron job implementation.
fxcron/resolve.go:22
↓ 11 callersMethodSetStatus
SetStatus sets the [WorkerExecution] status.
worker/execution.go:68
↓ 11 callersMethodStatus
Status returns the [WorkerExecution] status.
worker/execution.go:60
↓ 11 callersMethodapplyAfterHooks
(ctx context.Context, event *HookEvent)
sql/connection.go:315
↓ 11 callersMethodapplyBeforeHooks
(ctx context.Context, event *HookEvent)
sql/connection.go:307
↓ 11 callersFunctioncreateTestContext
(logger *yokailog.Logger, tracerProvider *otelsdktrace.TracerProvider)
sql/register_test.go:804
↓ 10 callersMethodBefore
(context.Context, *HookEvent)
sql/hook.go:11
↓ 10 callersMethodCreate
(options ...TracerProviderOption)
trace/factory.go:13
↓ 10 callersMethodCurrentExecutionAttempt
CurrentExecutionAttempt returns the [WorkerExecution] current execution attempt.
worker/execution.go:78
↓ 10 callersMethodError
Error logs with error level.
orm/logger.go:37
↓ 10 callersMethodMiddlewares
()
fxhttpserver/resolve.go:39
↓ 10 callersMethodReset
()
log/logtest/buffer.go:17
↓ 10 callersMethodShutdown
Shutdown is just for [otelsdktrace.SpanProcessor] compliance.
fxcron/trace.go:44
next →1–100 of 2,008, ranked by callers