MCPcopy Create free account

hub / github.com/ankorstore/yokai / functions

Functions2,008 in github.com/ankorstore/yokai

↓ 1 callersMethodCreate
Create returns a new [prometheus.Registry].
fxmetrics/factory.go:21
↓ 1 callersMethodCreate
Create returns a new [Logger], and accepts a list of [LoggerOption]. For example: var logger, _ = log.NewDefaultLoggerFactory().Create() is equival
log/factory.go:39
↓ 1 callersMethodCreate
Create returns a new [WorkerPool], and accepts a list of [WorkerPoolOption]. For example: var pool, _ = worker.NewDefaultWorkerPoolFactory().Create(
worker/factory.go:29
↓ 1 callersMethodCreate
Create returns a new [gocron.Scheduler] instance for an optional list of [gocron.SchedulerOption].
fxcron/factory.go:21
↓ 1 callersMethodCreate
Create returns a new [grpc.Server], and accepts an optional list of [GrpcServerOption].
grpcserver/factory.go:22
↓ 1 callersMethodCreate
(opts ...grpc.DialOption)
grpcserver/grpcservertest/factory.go:28
↓ 1 callersMethodCreate
(options ...ConfigOption)
config/factory.go:14
↓ 1 callersMethodCreate
()
generate/uuidv6/factory.go:5
↓ 1 callersMethodCreate
()
generate/uuid/factory.go:5
↓ 1 callersMethodCreate
()
generate/uuidv7/factory.go:5
↓ 1 callersMethodCreate
Create returns a new [http.Client], and accepts a list of [HttpClientOption]. For example: var client, _ = httpclient.NewDefaultHttpClientFactory().
httpclient/factory.go:32
↓ 1 callersFunctionCtxCronJobExecutionId
CtxCronJobExecutionId returns the contextual cron job execution id.
fxcron/context.go:27
↓ 1 callersFunctionCtxCronJobName
CtxCronJobName returns the contextual cron job name.
fxcron/context.go:18
↓ 1 callersFunctionCtxTracerProvider
CtxTracerProvider retrieves an [OTEL TracerProvider] from a provided context (or returns the default one if missing). [OTEL TracerProvider]: https://
trace/context.go:26
↓ 1 callersFunctionCtxWorkerExecutionId
CtxWorkerExecutionId returns the contextual [Worker] execution id.
worker/context.go:30
↓ 1 callersFunctionCtxWorkerName
CtxWorkerName returns the contextual [Worker] name.
worker/context.go:21
↓ 1 callersMethodData
Data return the data of the module info.
fxgrpcserver/info.go:33
↓ 1 callersMethodData
Data return the data of the module info.
fxmcpserver/info.go:43
↓ 1 callersMethodData
Data return the data of the module info.
fxcore/info.go:115
↓ 1 callersMethodData
Data return the data of the module info.
fxhttpserver/info.go:47
↓ 1 callersMethodData
Data return the data of the module info.
fxworker/info.go:27
↓ 1 callersMethodDebugj
Debugj produces a json log with debug level.
httpserver/logger.go:93
↓ 1 callersFunctionDefaultCheckerOptions
DefaultCheckerOptions are the default options used in the [DefaultCheckerFactory].
healthcheck/option.go:9
↓ 1 callersFunctionDefaultConfigOptions
DefaultConfigOptions are the default options used in the [DefaultConfigFactory].
config/option.go:15
↓ 1 callersFunctionDefaultGrpcServerOptions
DefaultGrpcServerOptions are the default options used in the [DefaultGrpcServerFactory].
grpcserver/option.go:14
↓ 1 callersFunctionDefaultHttpClientOptions
DefaultHttpClientOptions are the default options used in the [DefaultHttpClientFactory].
httpclient/option.go:19
↓ 1 callersFunctionDefaultHttpServerOptions
DefaultHttpServerOptions are the default options used in the [DefaultHttpServerFactory].
httpserver/option.go:20
↓ 1 callersFunctionDefaultLogHookOptions
DefaultLogHookOptions are the default options for LogHook.
sql/hook/log/option.go:16
↓ 1 callersFunctionDefaultLoggerOptions
DefaultLoggerOptions are the default options used in the [DefaultLoggerFactory].
log/option.go:18
↓ 1 callersFunctionDefaultOrmOptions
DefaultOrmOptions are the default options used in the [DefaultOrmFactory].
orm/option.go:15
↓ 1 callersFunctionDefaultTaskTemplateSettings
()
fxcore/task.go:39
↓ 1 callersFunctionDefaultTestHTTPServerOptions
()
httpclient/httpclienttest/option.go:7
↓ 1 callersFunctionDefaultTestHookEventOptions
DefaultTestHookEventOptions are the default options for NewTestHookEvent.
sql/hook/hooktest/option.go:19
↓ 1 callersFunctionDefaultTraceHookOptions
DefaultTraceHookOptions are the default options for TraceHook.
sql/hook/trace/option.go:12
↓ 1 callersFunctionDefaultTracerProviderOptions
DefaultTracerProviderOptions are the default options used in the [TracerProviderFactory].
trace/option.go:17
↓ 1 callersFunctionDefaultWorkerExecutionOptions
DefaultWorkerExecutionOptions are the default options for the [Worker] executions.
worker/option.go:78
↓ 1 callersFunctionDefaultWorkerPoolOptions
DefaultWorkerPoolOptions are the default options used in the [DefaultWorkerPoolFactory].
worker/option.go:22
↓ 1 callersMethodDump
Dump prints the [tracetest.SpanStubs] snapshots from the in memory internal exporter, for debugging purposes.
trace/tracetest/exporter.go:143
↓ 1 callersMethodErrorj
Errorj produces a json log with error level.
httpserver/logger.go:138
↓ 1 callersMethodExporter
Exporter returns the in memory internal exporter.
trace/tracetest/exporter.go:37
↓ 1 callersMethodExpression
Expression returns the [ResolvedCronJob] cron job expression.
fxcron/resolve.go:27
↓ 1 callersMethodFatalf
Fatalf logs with fatal level, and prints to stdout if configured to do so.
fxsql/logger.go:37
↓ 1 callersMethodFatalf
Fatalf produces a formatted log with fatal level.
httpserver/logger.go:148
↓ 1 callersMethodFatalj
Fatalj produces a json log with fatal level.
httpserver/logger.go:153
↓ 1 callersFunctionFetchDriver
FetchDriver returns a [Driver] for a given value.
orm/enum.go:37
↓ 1 callersFunctionFetchOperation
FetchOperation returns an Operation for a given name.
sql/operation.go:50
↓ 1 callersFunctionFlip
Flip reverses a map in {value: key} format.
fxhttpclient/util.go:14
↓ 1 callersMethodFn
()
fxvalidator/define.go:73
↓ 1 callersMethodFn
()
fxvalidator/define.go:102
↓ 1 callersMethodForceFlush
ForceFlush is just for [otelsdktrace.SpanProcessor] compliance.
worker/trace.go:49
↓ 1 callersMethodForceFlush
ForceFlush is just for [otelsdktrace.SpanProcessor] compliance.
fxcron/trace.go:49
↓ 1 callersMethodForceFlush
ForceFlush performs no operations.
httpserver/trace.go:46
↓ 1 callersMethodGetEnvVar
GetEnvVar returns the value of an env var.
config/config.go:26
↓ 1 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
fxgrpcserver/reflect.go:35
↓ 1 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
fxhealthcheck/reflect.go:35
↓ 1 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
fxcron/reflect.go:35
↓ 1 callersFunctionGetType
GetType returns a stable identifier for the given target’s type.
fxgrpcserver/reflect.go:28
↓ 1 callersFunctionGetType
GetType returns a stable identifier for the given target’s type.
fxhealthcheck/reflect.go:28
↓ 1 callersMethodHandle
Handle returns the handler func.
fxmcpserver/server/stdio/context.go:44
↓ 1 callersMethodHandle
()
fxmcpserver/server/stream/context.go:22
↓ 1 callersMethodHandle
()
fxmcpserver/server/sse/context.go:22
↓ 1 callersMethodHandle
()
fxhttpserver/registry.go:22
↓ 1 callersMethodHandleStream
()
fxgrpcserver/registry.go:18
↓ 1 callersMethodHandleUnary
()
fxgrpcserver/registry.go:13
↓ 1 callersMethodHandler
Handler returns the handler.
fxhttpserver/register.go:97
↓ 1 callersMethodHandlers
()
fxhttpserver/define.go:92
↓ 1 callersMethodInfo
Info returns information about the capabilities and the registered MCP tools, prompts, resources and resource templates.
fxmcpserver/server/registry.go:139
↓ 1 callersMethodInfof
Infof produces a formatted log with info level.
httpserver/logger.go:103
↓ 1 callersMethodInfoj
Infoj produces a json log with info level.
httpserver/logger.go:108
↓ 1 callersFunctionIsConcreteMiddleware
IsConcreteMiddleware returns true if the middleware is a concrete [worker.MiddlewareFunc] implementation.
fxworker/register.go:61
↓ 1 callersMethodKind
Kind returns the middleware kind.
fxhttpserver/register.go:27
↓ 1 callersMethodKind
()
fxhttpserver/define.go:7
↓ 1 callersMethodKinds
Kinds returns the list of [ProbeKind] of the [CheckerProbeRegistration].
healthcheck/checker.go:33
↓ 1 callersMethodLogEvent
LogEvent logs a [fxevent.Event].
fxlog/fx.go:25
↓ 1 callersMethodMethod
Method returns the handler http method.
fxhttpserver/register.go:87
↓ 1 callersMethodMethod
()
fxhttpserver/define.go:41
↓ 1 callersMethodMiddleware
Middleware returns the middleware.
fxhttpserver/register.go:22
↓ 1 callersMethodMiddlewares
Middlewares returns the handler associated middlewares.
fxhttpserver/register.go:102
↓ 1 callersMethodMiddlewares
Middlewares returns the handlers group associated middlewares.
fxhttpserver/register.go:197
↓ 1 callersMethodMiddlewares
()
fxhttpserver/define.go:44
↓ 1 callersMethodMiddlewares
()
fxhttpserver/define.go:93
↓ 1 callersMethodMiddlewares
()
fxhttpserver/resolve.go:83
↓ 1 callersMethodName
Name return the name of the module info.
fxgrpcserver/info.go:28
↓ 1 callersMethodName
Name returns the name of the module info.
fxmcpserver/info.go:38
↓ 1 callersMethodName
Name return the name of the module info.
fxcore/info.go:110
↓ 1 callersMethodName
Name return the name of the module info.
fxhttpserver/info.go:42
↓ 1 callersMethodName
()
healthcheck/testdata/probes/failure.go:15
↓ 1 callersMethodName
()
fxsql/database.go:19
↓ 1 callersMethodName
Name returns the name of the [WorkerProbe].
worker/healthcheck/probe.go:32
↓ 1 callersMethodName
Name return the name of the module info.
fxworker/info.go:22
↓ 1 callersMethodName
Name return the name of the module info.
fxcron/info.go:26
↓ 1 callersMethodName
()
fxcron/testdata/cron/job/dummy.go:13
↓ 1 callersFunctionNewAliasDefinition
NewAliasDefinition returns a new AliasDefinition.
fxvalidator/define.go:17
↓ 1 callersFunctionNewBaseTransportWithConfig
NewBaseTransportWithConfig returns a [BaseTransport] instance for a provided [BaseTransportConfig] configuration.
httpclient/transport/base.go:32
↓ 1 callersFunctionNewChecker
NewChecker returns a [Checker] instance.
healthcheck/checker.go:56
↓ 1 callersFunctionNewCheckerProbeDefinition
NewCheckerProbeDefinition returns a new [CheckerProbeDefinition].
fxhealthcheck/define.go:17
↓ 1 callersFunctionNewCore
NewCore returns a new [Core].
fxcore/core.go:17
↓ 1 callersFunctionNewCronJobDefinition
NewCronJobDefinition returns a new [CronJobDefinition].
fxcron/define.go:21
↓ 1 callersFunctionNewCronJobMetrics
NewCronJobMetrics returns a new [CronJobMetrics] instance for provided metrics namespace and subsystem.
fxcron/metrics.go:53
↓ 1 callersFunctionNewCronJobMetricsWithBuckets
NewCronJobMetricsWithBuckets returns a new [CronJobMetrics] instance for provided metrics namespace, subsystem and buckets.
fxcron/metrics.go:58
← previousnext →401–500 of 2,008, ranked by callers