Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ankorstore/yokai
/ functions
Functions
2,008 in github.com/ankorstore/yokai
⨍
Functions
2,008
◇
Types & classes
442
↓ 1 callers
Method
Create
Create returns a new [prometheus.Registry].
fxmetrics/factory.go:21
↓ 1 callers
Method
Create
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 callers
Method
Create
Create returns a new [WorkerPool], and accepts a list of [WorkerPoolOption]. For example: var pool, _ = worker.NewDefaultWorkerPoolFactory().Create(
worker/factory.go:29
↓ 1 callers
Method
Create
Create returns a new [gocron.Scheduler] instance for an optional list of [gocron.SchedulerOption].
fxcron/factory.go:21
↓ 1 callers
Method
Create
Create returns a new [grpc.Server], and accepts an optional list of [GrpcServerOption].
grpcserver/factory.go:22
↓ 1 callers
Method
Create
(opts ...grpc.DialOption)
grpcserver/grpcservertest/factory.go:28
↓ 1 callers
Method
Create
(options ...ConfigOption)
config/factory.go:14
↓ 1 callers
Method
Create
()
generate/uuidv6/factory.go:5
↓ 1 callers
Method
Create
()
generate/uuid/factory.go:5
↓ 1 callers
Method
Create
()
generate/uuidv7/factory.go:5
↓ 1 callers
Method
Create
Create returns a new [http.Client], and accepts a list of [HttpClientOption]. For example: var client, _ = httpclient.NewDefaultHttpClientFactory().
httpclient/factory.go:32
↓ 1 callers
Function
CtxCronJobExecutionId
CtxCronJobExecutionId returns the contextual cron job execution id.
fxcron/context.go:27
↓ 1 callers
Function
CtxCronJobName
CtxCronJobName returns the contextual cron job name.
fxcron/context.go:18
↓ 1 callers
Function
CtxTracerProvider
CtxTracerProvider retrieves an [OTEL TracerProvider] from a provided context (or returns the default one if missing). [OTEL TracerProvider]: https://
trace/context.go:26
↓ 1 callers
Function
CtxWorkerExecutionId
CtxWorkerExecutionId returns the contextual [Worker] execution id.
worker/context.go:30
↓ 1 callers
Function
CtxWorkerName
CtxWorkerName returns the contextual [Worker] name.
worker/context.go:21
↓ 1 callers
Method
Data
Data return the data of the module info.
fxgrpcserver/info.go:33
↓ 1 callers
Method
Data
Data return the data of the module info.
fxmcpserver/info.go:43
↓ 1 callers
Method
Data
Data return the data of the module info.
fxcore/info.go:115
↓ 1 callers
Method
Data
Data return the data of the module info.
fxhttpserver/info.go:47
↓ 1 callers
Method
Data
Data return the data of the module info.
fxworker/info.go:27
↓ 1 callers
Method
Debugj
Debugj produces a json log with debug level.
httpserver/logger.go:93
↓ 1 callers
Function
DefaultCheckerOptions
DefaultCheckerOptions are the default options used in the [DefaultCheckerFactory].
healthcheck/option.go:9
↓ 1 callers
Function
DefaultConfigOptions
DefaultConfigOptions are the default options used in the [DefaultConfigFactory].
config/option.go:15
↓ 1 callers
Function
DefaultGrpcServerOptions
DefaultGrpcServerOptions are the default options used in the [DefaultGrpcServerFactory].
grpcserver/option.go:14
↓ 1 callers
Function
DefaultHttpClientOptions
DefaultHttpClientOptions are the default options used in the [DefaultHttpClientFactory].
httpclient/option.go:19
↓ 1 callers
Function
DefaultHttpServerOptions
DefaultHttpServerOptions are the default options used in the [DefaultHttpServerFactory].
httpserver/option.go:20
↓ 1 callers
Function
DefaultLogHookOptions
DefaultLogHookOptions are the default options for LogHook.
sql/hook/log/option.go:16
↓ 1 callers
Function
DefaultLoggerOptions
DefaultLoggerOptions are the default options used in the [DefaultLoggerFactory].
log/option.go:18
↓ 1 callers
Function
DefaultOrmOptions
DefaultOrmOptions are the default options used in the [DefaultOrmFactory].
orm/option.go:15
↓ 1 callers
Function
DefaultTaskTemplateSettings
()
fxcore/task.go:39
↓ 1 callers
Function
DefaultTestHTTPServerOptions
()
httpclient/httpclienttest/option.go:7
↓ 1 callers
Function
DefaultTestHookEventOptions
DefaultTestHookEventOptions are the default options for NewTestHookEvent.
sql/hook/hooktest/option.go:19
↓ 1 callers
Function
DefaultTraceHookOptions
DefaultTraceHookOptions are the default options for TraceHook.
sql/hook/trace/option.go:12
↓ 1 callers
Function
DefaultTracerProviderOptions
DefaultTracerProviderOptions are the default options used in the [TracerProviderFactory].
trace/option.go:17
↓ 1 callers
Function
DefaultWorkerExecutionOptions
DefaultWorkerExecutionOptions are the default options for the [Worker] executions.
worker/option.go:78
↓ 1 callers
Function
DefaultWorkerPoolOptions
DefaultWorkerPoolOptions are the default options used in the [DefaultWorkerPoolFactory].
worker/option.go:22
↓ 1 callers
Method
Dump
Dump prints the [tracetest.SpanStubs] snapshots from the in memory internal exporter, for debugging purposes.
trace/tracetest/exporter.go:143
↓ 1 callers
Method
Errorj
Errorj produces a json log with error level.
httpserver/logger.go:138
↓ 1 callers
Method
Exporter
Exporter returns the in memory internal exporter.
trace/tracetest/exporter.go:37
↓ 1 callers
Method
Expression
Expression returns the [ResolvedCronJob] cron job expression.
fxcron/resolve.go:27
↓ 1 callers
Method
Fatalf
Fatalf logs with fatal level, and prints to stdout if configured to do so.
fxsql/logger.go:37
↓ 1 callers
Method
Fatalf
Fatalf produces a formatted log with fatal level.
httpserver/logger.go:148
↓ 1 callers
Method
Fatalj
Fatalj produces a json log with fatal level.
httpserver/logger.go:153
↓ 1 callers
Function
FetchDriver
FetchDriver returns a [Driver] for a given value.
orm/enum.go:37
↓ 1 callers
Function
FetchOperation
FetchOperation returns an Operation for a given name.
sql/operation.go:50
↓ 1 callers
Function
Flip
Flip reverses a map in {value: key} format.
fxhttpclient/util.go:14
↓ 1 callers
Method
Fn
()
fxvalidator/define.go:73
↓ 1 callers
Method
Fn
()
fxvalidator/define.go:102
↓ 1 callers
Method
ForceFlush
ForceFlush is just for [otelsdktrace.SpanProcessor] compliance.
worker/trace.go:49
↓ 1 callers
Method
ForceFlush
ForceFlush is just for [otelsdktrace.SpanProcessor] compliance.
fxcron/trace.go:49
↓ 1 callers
Method
ForceFlush
ForceFlush performs no operations.
httpserver/trace.go:46
↓ 1 callers
Method
GetEnvVar
GetEnvVar returns the value of an env var.
config/config.go:26
↓ 1 callers
Function
GetReturnType
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 callers
Function
GetReturnType
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 callers
Function
GetReturnType
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 callers
Function
GetType
GetType returns a stable identifier for the given target’s type.
fxgrpcserver/reflect.go:28
↓ 1 callers
Function
GetType
GetType returns a stable identifier for the given target’s type.
fxhealthcheck/reflect.go:28
↓ 1 callers
Method
Handle
Handle returns the handler func.
fxmcpserver/server/stdio/context.go:44
↓ 1 callers
Method
Handle
()
fxmcpserver/server/stream/context.go:22
↓ 1 callers
Method
Handle
()
fxmcpserver/server/sse/context.go:22
↓ 1 callers
Method
Handle
()
fxhttpserver/registry.go:22
↓ 1 callers
Method
HandleStream
()
fxgrpcserver/registry.go:18
↓ 1 callers
Method
HandleUnary
()
fxgrpcserver/registry.go:13
↓ 1 callers
Method
Handler
Handler returns the handler.
fxhttpserver/register.go:97
↓ 1 callers
Method
Handlers
()
fxhttpserver/define.go:92
↓ 1 callers
Method
Info
Info returns information about the capabilities and the registered MCP tools, prompts, resources and resource templates.
fxmcpserver/server/registry.go:139
↓ 1 callers
Method
Infof
Infof produces a formatted log with info level.
httpserver/logger.go:103
↓ 1 callers
Method
Infoj
Infoj produces a json log with info level.
httpserver/logger.go:108
↓ 1 callers
Function
IsConcreteMiddleware
IsConcreteMiddleware returns true if the middleware is a concrete [worker.MiddlewareFunc] implementation.
fxworker/register.go:61
↓ 1 callers
Method
Kind
Kind returns the middleware kind.
fxhttpserver/register.go:27
↓ 1 callers
Method
Kind
()
fxhttpserver/define.go:7
↓ 1 callers
Method
Kinds
Kinds returns the list of [ProbeKind] of the [CheckerProbeRegistration].
healthcheck/checker.go:33
↓ 1 callers
Method
LogEvent
LogEvent logs a [fxevent.Event].
fxlog/fx.go:25
↓ 1 callers
Method
Method
Method returns the handler http method.
fxhttpserver/register.go:87
↓ 1 callers
Method
Method
()
fxhttpserver/define.go:41
↓ 1 callers
Method
Middleware
Middleware returns the middleware.
fxhttpserver/register.go:22
↓ 1 callers
Method
Middlewares
Middlewares returns the handler associated middlewares.
fxhttpserver/register.go:102
↓ 1 callers
Method
Middlewares
Middlewares returns the handlers group associated middlewares.
fxhttpserver/register.go:197
↓ 1 callers
Method
Middlewares
()
fxhttpserver/define.go:44
↓ 1 callers
Method
Middlewares
()
fxhttpserver/define.go:93
↓ 1 callers
Method
Middlewares
()
fxhttpserver/resolve.go:83
↓ 1 callers
Method
Name
Name return the name of the module info.
fxgrpcserver/info.go:28
↓ 1 callers
Method
Name
Name returns the name of the module info.
fxmcpserver/info.go:38
↓ 1 callers
Method
Name
Name return the name of the module info.
fxcore/info.go:110
↓ 1 callers
Method
Name
Name return the name of the module info.
fxhttpserver/info.go:42
↓ 1 callers
Method
Name
()
healthcheck/testdata/probes/failure.go:15
↓ 1 callers
Method
Name
()
fxsql/database.go:19
↓ 1 callers
Method
Name
Name returns the name of the [WorkerProbe].
worker/healthcheck/probe.go:32
↓ 1 callers
Method
Name
Name return the name of the module info.
fxworker/info.go:22
↓ 1 callers
Method
Name
Name return the name of the module info.
fxcron/info.go:26
↓ 1 callers
Method
Name
()
fxcron/testdata/cron/job/dummy.go:13
↓ 1 callers
Function
NewAliasDefinition
NewAliasDefinition returns a new AliasDefinition.
fxvalidator/define.go:17
↓ 1 callers
Function
NewBaseTransportWithConfig
NewBaseTransportWithConfig returns a [BaseTransport] instance for a provided [BaseTransportConfig] configuration.
httpclient/transport/base.go:32
↓ 1 callers
Function
NewChecker
NewChecker returns a [Checker] instance.
healthcheck/checker.go:56
↓ 1 callers
Function
NewCheckerProbeDefinition
NewCheckerProbeDefinition returns a new [CheckerProbeDefinition].
fxhealthcheck/define.go:17
↓ 1 callers
Function
NewCore
NewCore returns a new [Core].
fxcore/core.go:17
↓ 1 callers
Function
NewCronJobDefinition
NewCronJobDefinition returns a new [CronJobDefinition].
fxcron/define.go:21
↓ 1 callers
Function
NewCronJobMetrics
NewCronJobMetrics returns a new [CronJobMetrics] instance for provided metrics namespace and subsystem.
fxcron/metrics.go:53
↓ 1 callers
Function
NewCronJobMetricsWithBuckets
NewCronJobMetricsWithBuckets returns a new [CronJobMetrics] instance for provided metrics namespace, subsystem and buckets.
fxcron/metrics.go:58
← previous
next →
401–500 of 2,008, ranked by callers