Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NawafSwe/go-service-starter-kit
/ functions
Functions
465 in github.com/NawafSwe/go-service-starter-kit
⨍
Functions
465
◇
Types & classes
154
Function
TestLoggingMiddleware
(t *testing.T)
internal/middleware/logging_test.go:30
Function
TestMakeHTTPHandler
(t *testing.T)
internal/gokit/http/http_test.go:40
Function
TestNew
(t *testing.T)
internal/httpx/client_test.go:56
Function
TestNew
(t *testing.T)
internal/grpcx/client_test.go:45
Function
TestNewClaimsParser
(t *testing.T)
internal/auth/jwt_test.go:25
Function
TestNewClient_InvalidURI
(t *testing.T)
internal/clients/db/mongodb/db_integration_test.go:25
Function
TestNewClient_UnreachableHost
(t *testing.T)
internal/clients/db/mongodb/db_integration_test.go:14
Function
TestNewConn_UnreachableHost
(t *testing.T)
internal/clients/db/postgres/db_integration_test.go:15
Function
TestNewConn_UnreachableHost
(t *testing.T)
internal/clients/db/mysql/db_integration_test.go:15
Function
TestNewConsumerWorker
(t *testing.T)
internal/worker/consumer_test.go:17
Function
TestNewGRPCWorker
(t *testing.T)
internal/worker/grpc_test.go:13
Function
TestNewHTTPWorker
(t *testing.T)
internal/worker/http_test.go:13
Function
TestNewPageResult
(t *testing.T)
internal/db/page_test.go:72
Function
TestNilContext
(t *testing.T)
internal/observability/logger/logger_test.go:198
Function
TestNonLoggable
(t *testing.T)
internal/text/nonlogable_test.go:13
Function
TestNonLoggable_InStruct
(t *testing.T)
internal/text/nonlogable_test.go:41
Function
TestNotFoundError
(t *testing.T)
internal/httperrors/not_found_test.go:11
Function
TestOrderBy_SQL
(t *testing.T)
internal/db/sqlorder/order_test.go:9
Function
TestPage_Clamp
(t *testing.T)
internal/db/page_test.go:30
Function
TestPage_Offset
(t *testing.T)
internal/db/page_test.go:9
Function
TestParseJWTToken_Invalid
(t *testing.T)
internal/auth/jwt_test.go:95
Function
TestPasswordGenerator
(t *testing.T)
internal/auth/password_test.go:12
Function
TestProcessingError
(t *testing.T)
internal/httperrors/processing_test.go:12
Function
TestProcessingError_ErrorsIs
(t *testing.T)
internal/httperrors/processing_test.go:50
Function
TestRateLimit_Disabled
(t *testing.T)
internal/middleware/gokit_test.go:57
Function
TestRateLimit_ExceedsLimit
(t *testing.T)
internal/middleware/gokit_test.go:79
Function
TestReporter
(t *testing.T)
internal/observability/metric/metric_test.go:13
Function
TestSetup_Disabled
(t *testing.T)
internal/observability/tracing/trace_test.go:16
Function
TestSetup_Enabled
(t *testing.T)
internal/observability/tracing/trace_integration_test.go:14
Function
TestStartSpan
(t *testing.T)
internal/observability/tracing/trace_test.go:26
Function
TestTimeoutMiddleware
(t *testing.T)
internal/middleware/gokit_test.go:13
Function
TestToZerologLevel_InvalidLevel
(t *testing.T)
internal/observability/logger/logger_test.go:206
Function
TestUnauthorizedError
(t *testing.T)
internal/httperrors/unauthorized_test.go:11
Function
TestUserFromCtx
(t *testing.T)
internal/auth/user_test.go:11
Function
TestWithCallerSkip
(t *testing.T)
internal/observability/logger/logger_test.go:191
Function
TestWithLevel_FiltersBelow
(t *testing.T)
internal/observability/logger/logger_test.go:129
Function
TestWithPrettyOutput
(t *testing.T)
internal/observability/logger/logger_test.go:183
Method
Warn
(ctx context.Context, msg string)
internal/observability/logger/logger.go:141
Method
WarnW
(ctx context.Context, msg string, fields map[string]any)
internal/observability/logger/logger.go:145
Function
WithAuthMock
WithAuthMock enables the authorization mock so tests don't need real JWT tokens.
test/pkg/suite/option.go:52
Function
WithMigrationsPath
WithMigrationsPath overrides the default migrations directory.
test/pkg/testdb/testdb.go:82
Function
WithMockGRPCServer
WithMockGRPCServer starts a mock gRPC server using mockchaos and sets its address on the suite config.
test/pkg/suite/option.go:40
Function
WithMockHTTPServer
WithMockHTTPServer starts a mock HTTP server using mockchaos and sets its URL on the suite config. The configFn receives the server URL so the caller
test/pkg/suite/option.go:27
Function
WithSkipMigrations
WithSkipMigrations skips running migrations — useful for testing missing-table error paths.
test/pkg/testdb/testdb.go:90
Function
_ExampleService_CreateExample_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
api/proto/grpc/v1/gen/example_grpc.pb.go:123
Function
_ExampleService_DeleteExample_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
api/proto/grpc/v1/gen/example_grpc.pb.go:177
Function
_ExampleService_GetExample_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
api/proto/grpc/v1/gen/example_grpc.pb.go:141
Function
_ExampleService_ListExamples_Handler
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
api/proto/grpc/v1/gen/example_grpc.pb.go:159
Method
handleMessage
handleMessage authenticates and routes a single message through the go-kit endpoint chain.
internal/app/transport/consumer/consumer.go:102
Function
init
nolint:gochecknoinits
internal/observability/logger/logger.go:59
Function
init
()
api/proto/grpc/v1/gen/example.pb.go:515
Function
log
()
test/load/pkg/config.js:64
Function
main
()
cmd/main.go:40
Method
mustEmbedUnimplementedExampleServiceServer
()
api/proto/grpc/v1/gen/example_grpc.pb.go:91
Method
mustEmbedUnimplementedExampleServiceServer
()
api/proto/grpc/v1/gen/example_grpc.pb.go:110
Method
mustEmbedUnimplementedExampleServiceServer
()
api/proto/grpc/v1/gen/example_grpc.pb.go:116
Function
noopHandler
(_ context.Context, req any)
internal/middleware/grpc_test.go:21
Function
setup
()
test/load/rpc_list_examples.js:10
Function
setup
()
test/load/http_get_example.js:11
Function
setup
()
test/load/rpc_delete_example.js:11
Function
setup
()
test/load/http_get_list_examples.js:10
Function
setup
()
test/load/http_post_create_example.js:11
Function
setup
()
test/load/rpc_create_example.js:13
Function
setup
()
test/load/http_delete_example.js:11
Function
setup
()
test/load/rpc_get_example.js:11
← previous
401–465 of 465, ranked by callers