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
↓ 2 callers
Function
ExtractMethods
(methods string)
fxhttpserver/method.go:32
↓ 2 callers
Function
FetchSystem
FetchSystem returns a System for a given name.
sql/system.go:21
↓ 2 callers
Method
Generate
Generate returns a new UUID V6, using [Google UUID]. [Google UUID]: https://github.com/google/uuid
generate/uuidv6/generator.go:21
↓ 2 callers
Method
Generate
Generate returns a new UUID, using [Google UUID]. [Google UUID]: https://github.com/google/uuid
generate/uuid/generator.go:21
↓ 2 callers
Method
Generate
Generate returns a new UUID V7, using [Google UUID]. [Google UUID]: https://github.com/google/uuid
generate/uuidv7/generator.go:21
↓ 2 callers
Method
Get
Get returns a registered driver for a given name.
sql/registry.go:63
↓ 2 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
fxworker/reflect.go:35
↓ 2 callers
Function
GetType
GetType returns a stable identifier for the given target’s type.
fxhttpserver/reflect.go:30
↓ 2 callers
Function
GetType
GetType returns a stable identifier for the given target’s type.
fxcron/reflect.go:28
↓ 2 callers
Method
Handle
Handle returns the handler func.
fxmcpserver/server/stream/context.go:57
↓ 2 callers
Method
Handle
Handle returns the handler func.
fxmcpserver/server/sse/context.go:57
↓ 2 callers
Method
HandlersRegistrations
HandlersRegistrations returns the handlers group associated handlers registrations.
fxhttpserver/register.go:192
↓ 2 callers
Method
Has
(name string)
sql/registry.go:11
↓ 2 callers
Method
Initialize
Initialize is called upon plugin initialization.
orm/plugin/trace.go:46
↓ 2 callers
Method
Logs
()
fxmetrics/testdata/spy/spy.go:26
↓ 2 callers
Method
Match
Match returns true if the [CheckerProbeRegistration] match any of the provided [ProbeKind] list.
healthcheck/checker.go:38
↓ 2 callers
Method
Metadata
Metadata configures a list of metadata to log from incoming context.
grpcserver/logger.go:41
↓ 2 callers
Method
Name
()
fxcore/info.go:16
↓ 2 callers
Method
Name
Name returns the name of the [SQLProbe].
sql/healthcheck/probe.go:32
↓ 2 callers
Method
Name
Name returns the [WorkerExecution] name.
worker/execution.go:48
↓ 2 callers
Method
Name
()
worker/testdata/workers/classic.go:16
↓ 2 callers
Method
Name
NewOrmProbe returns the name of the [OrmProbe].
orm/healthcheck/probe.go:32
↓ 2 callers
Function
NewBaseTransport
NewBaseTransport returns a [BaseTransport] instance with optimized default [BaseTransportConfig] configuration.
httpclient/transport/base.go:21
↓ 2 callers
Function
NewCheckerProbeRegistration
NewCheckerProbeRegistration returns a [CheckerProbeRegistration], and accepts a [CheckerProbe] and an optional list of [ProbeKind]. If no [ProbeKind]
healthcheck/checker.go:20
↓ 2 callers
Function
NewConnection
NewConnection returns a new Connection.
sql/connection.go:31
↓ 2 callers
Function
NewConnector
NewConnector returns a new Connector.
sql/connector.go:18
↓ 2 callers
Function
NewDatabase
(name string, db *sql.DB)
fxsql/database.go:12
↓ 2 callers
Function
NewMiddlewareDefinition
NewMiddlewareDefinition returns a new [MiddlewareDefinition].
fxworker/define.go:15
↓ 2 callers
Function
NewStatement
NewStatement returns a new Statement. nolint:contextcheck
sql/statement.go:27
↓ 2 callers
Function
NewTransaction
NewTransaction returns a new Transaction. nolint:contextcheck
sql/transaction.go:22
↓ 2 callers
Method
OpenConnector
OpenConnector returns a new Connector.
sql/driver.go:47
↓ 2 callers
Method
Output
Output returns the output writer.
httpserver/logger.go:36
↓ 2 callers
Method
PrepareContext
PrepareContext prepares a query for a context and returns a driver.Stmt.
sql/connection.go:177
↓ 2 callers
Method
Register
Register allows the [CronJobMetrics] to register against a provided [prometheus.Registry].
fxcron/metrics.go:63
↓ 2 callers
Method
ResetSession
ResetSession resets a connection session for context.
sql/connection.go:267
↓ 2 callers
Method
ResolveErrorHandlers
ResolveErrorHandlers resolves resolves a list of [ErrorHandler].
fxhttpserver/registry.go:156
↓ 2 callers
Method
ReturnType
()
fxgrpcserver/define.go:7
↓ 2 callers
Method
ReturnType
()
fxhealthcheck/define.go:7
↓ 2 callers
Method
ReturnType
()
fxcron/define.go:9
↓ 2 callers
Method
Rollback
Rollback rollbacks the Transaction.
sql/transaction.go:53
↓ 2 callers
Method
RunApp
RunApp runs the application, accepting optional runtime options.
fxcore/bootstrap.go:70
↓ 2 callers
Function
Sanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
fxmcpserver/server/util.go:15
↓ 2 callers
Function
Sanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
fxcore/util.go:6
↓ 2 callers
Function
Sanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
fxhttpserver/util.go:17
↓ 2 callers
Function
Sanitize
Sanitize transforms a given string to not contain spaces or dashes, and to be in lower case.
fxhttpclient/util.go:6
↓ 2 callers
Method
SetCurrentExecutionAttempt
SetCurrentExecutionAttempt sets the [WorkerExecution] current execution attempt.
worker/execution.go:86
↓ 2 callers
Method
SetOutput
SetOutput sets the output writer.
httpserver/logger.go:41
↓ 2 callers
Method
SetValue
SetValue sets the value to use for deterministic generations.
generate/generatetest/uuidv6/generator.go:25
↓ 2 callers
Method
SetValue
SetValue sets the value to use for deterministic generations.
generate/generatetest/uuidv7/generator.go:25
↓ 2 callers
Function
Split
Split trims and splits a provided string by comma.
fxhttpserver/util.go:25
↓ 2 callers
Method
Start
Start starts the MCPStdioServer.
fxmcpserver/server/stdio/server.go:51
↓ 2 callers
Method
Start
Start starts the MCPStreamableHTTPServer.
fxmcpserver/server/stream/server.go:49
↓ 2 callers
Method
StartClient
(ctx context.Context, options ...transport.StreamableHTTPCOption)
fxmcpserver/fxmcpservertest/stream.go:42
↓ 2 callers
Method
StartClient
(ctx context.Context, options ...transport.ClientOption)
fxmcpserver/fxmcpservertest/sse.go:48
↓ 2 callers
Method
Tag
()
fxvalidator/define.go:36
↓ 2 callers
Method
Tags
()
fxvalidator/define.go:8
↓ 2 callers
Method
TemplateSettings
(settings TaskTemplateSettings)
fxcore/task.go:29
↓ 2 callers
Method
URI
()
fxmcpserver/server/registry.go:26
↓ 2 callers
Method
applyAfterHooks
(event *HookEvent)
sql/transaction.go:76
↓ 2 callers
Method
applyBeforeHooks
(event *HookEvent)
sql/transaction.go:70
↓ 2 callers
Function
create
(namespace string, subsystem string, buckets []float64)
fxcron/metrics.go:106
↓ 2 callers
Function
createTestMigrator
(t *testing.T)
fxsql/migrator_test.go:33
↓ 2 callers
Function
createTestMigratorLogger
(t *testing.T, buffer logtest.TestLogBuffer)
fxsql/logger_test.go:43
↓ 2 callers
Method
extractLogFieldsFromContextMetadata
(ctx context.Context)
grpcserver/logger.go:286
↓ 2 callers
Function
fetchSpanProcessorType
(p FxTraceParam)
fxtrace/module.go:129
↓ 2 callers
Function
file_testdata_proto_test_proto_rawDescGZIP
()
fxgrpcserver/testdata/proto/test.pb.go:175
↓ 2 callers
Function
file_testdata_proto_test_proto_rawDescGZIP
()
grpcserver/testdata/proto/test.pb.go:174
↓ 2 callers
Function
fullTypeID
fullTypeID builds a stable identifier for a type in the form "<pkgpath>.<TypeName>".
fxgrpcserver/reflect.go:8
↓ 2 callers
Function
fullTypeID
fullTypeID builds a stable identifier for a type in the form "<pkgpath>.<TypeName>".
fxhttpserver/reflect.go:10
↓ 2 callers
Function
fullTypeID
fullTypeID builds a stable identifier for a type in the form "<pkgpath>.<TypeName>".
fxworker/reflect.go:8
↓ 2 callers
Function
fullTypeID
fullTypeID builds a stable identifier for a type in the form "<pkgpath>.<TypeName>".
fxhealthcheck/reflect.go:8
↓ 2 callers
Function
fullTypeID
fullTypeID builds a stable identifier for a type in the form "<pkgpath>.<TypeName>".
fxcron/reflect.go:8
↓ 2 callers
Method
jobType
(job CronJob)
fxcron/info.go:95
↓ 2 callers
Function
prepareSpanContext
(traceId string, spanId string)
grpcserver/testdata/interceptor/context.go:32
↓ 2 callers
Method
resolveHandlerDefinition
(handlerDefinition HandlerDefinition, handlerMiddlewares []echo.MiddlewareFunc)
fxhttpserver/registry.go:187
↓ 1 callers
Method
All
All returns a map of all registered [FxModuleInfo].
fxcore/info.go:177
↓ 1 callers
Function
AnnotateTracerProvider
AnnotateTracerProvider extends a provided [oteltrace.TracerProvider] spans with cron jobs execution attributes.
fxcron/trace.go:12
↓ 1 callers
Function
AsMCPSSEServerContextHook
AsMCPSSEServerContextHook registers an MCP SSE server context hook.
fxmcpserver/register.go:99
↓ 1 callers
Function
AsMCPServerPrompt
AsMCPServerPrompt registers an MCP prompt.
fxmcpserver/register.go:33
↓ 1 callers
Function
AsMCPServerResource
AsMCPServerResource registers an MCP resource.
fxmcpserver/register.go:55
↓ 1 callers
Function
AsMCPServerResourceTemplate
AsMCPServerResourceTemplate registers an MCP resource template.
fxmcpserver/register.go:77
↓ 1 callers
Function
AsMCPServerTool
AsMCPServerTool registers an MCP tool.
fxmcpserver/register.go:11
↓ 1 callers
Function
AsMCPStreamableHTTPServerContextHook
AsMCPStreamableHTTPServerContextHook registers an MCP StreamableHTTP server context hook.
fxmcpserver/register.go:121
↓ 1 callers
Function
AsSQLHook
AsSQLHook registers a [sql.Hook] into Fx.
fxsql/register.go:9
↓ 1 callers
Function
AsSQLSeed
AsSQLSeed registers a [Seed] into Fx.
fxsql/register.go:31
↓ 1 callers
Function
AsTask
AsTask registers a task in the core.
fxcore/register.go:19
↓ 1 callers
Method
Base
Base returns the wrapped [http.RoundTripper].
httpclient/transport/logger.go:58
↓ 1 callers
Method
Bidi
(ctx context.Context, opts ...grpc.CallOption)
fxgrpcserver/testdata/proto/test_grpc.pb.go:26
↓ 1 callers
Method
Check
Check returns a successful healthcheck.CheckerProbeResult if the exposed MCP servers are running.
fxmcpserver/server/healthcheck.go:43
↓ 1 callers
Method
Checker
Checker returns the core health checker.
fxcore/core.go:31
↓ 1 callers
Method
Concrete
()
fxhttpserver/define.go:5
↓ 1 callers
Method
Config
Config returns the core config.
fxcore/core.go:26
↓ 1 callers
Function
Contains
Contains returns true if a given string can be found in a given slice of strings.
fxhttpserver/util.go:6
↓ 1 callers
Function
CopyRequestHeaders
CopyRequestHeaders performs a copy of a specified list of headers between two [http.Request].
httpclient/request.go:11
↓ 1 callers
Method
Create
Create creates a new server.MCPServer instance.
fxmcpserver/server/factory.go:33
↓ 1 callers
Method
Create
Create returns a new MCPStdioServer instance.
fxmcpserver/server/stdio/factory.go:25
↓ 1 callers
Method
Create
Create returns a new MCPStreamableHTTPServer instance.
fxmcpserver/server/stream/factory.go:35
↓ 1 callers
Method
Create
Create returns a new MCPSSEServer instance.
fxmcpserver/server/sse/factory.go:39
↓ 1 callers
Method
Create
Create creates a new Driver, for a provided System and an optional list of Hook.
sql/factory.go:25
↓ 1 callers
Method
Create
()
fxmetrics/factory.go:9
← previous
next →
301–400 of 2,008, ranked by callers