# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CloneSwaggerSpec делаем копию SwaggerSpec.
ComposeSwaggers compose some swagger defs into one.
NewAPIServer makes new API server.
RunWithAPIServer add one more API server.
RunWithGracefulStop add time period to shutdown services gracefully.
SkipDefInterceptors ...
WithDocs добавим сваггер доку.
WithGatewayOptions добавим GW-2-GRPC опции.
WithGrpcServerOptions добавим GRPC опции.
WithHttpHandler add HTTP handler for pattern.
WithRecovery ...
WithServices добавим service APIs к серверу.
WithStatsHandlers добавим stats.Handler-ы.
WithStreamInterceptors добавим стримовые перехватчики.
WithTapInHandlers добавим tap.ServerInHandle-ы.
WithTLS add TLS to use in GRPC.
WithTracer sets span tracer.
WithUnaryInterceptors добавим унарные перехвачики.
# Interfaces
APIGatewayProxy optional additional to APIService interface.
No description provided by the author
APIService API service definition interface.
APIServiceOnStartEvent optional additional to APIService interface.
APIServiceOnStopEvent optional additional to APIService interface.
No description provided by the author
HealthCheck optional to APIService interface.
RunAPIServersOption option interface to call RunAPIServers.
# Type aliases
SwaggerSpec ia alias to spec.Swagger.