Documentation ¶
Index ¶
- func InitExecutableSchema(rootResolver *resolver.Root) graphql.ExecutableSchema
- func InitGRPCGatewayServeMux(ctx context.Context, userServiceServer userv1beta1.UserServiceServer) (*runtime.ServeMux, error)
- func InitGRPCServer(userServiceServer userv1beta1.UserServiceServer, ...) *grpc.Server
- func InitHTTPServeMux(c *Config, logger *zap.Logger, executableSchema graphql.ExecutableSchema, ...) *http.ServeMux
- func InitHTTPServer(httpServeMux *http.ServeMux) *http.Server
- func InitLogger(c *Config) (*zap.Logger, func(), error)
- func InitTodoServiceClient(ctx context.Context, c *Config, logger *zap.Logger) (todov1beta1.TodoServiceClient, func(), error)
- func InitTodoServiceServer(ctx context.Context, logger *zap.Logger) (todov1beta1.TodoServiceServer, error)
- func InitUserServiceClient(ctx context.Context, c *Config, logger *zap.Logger) (userv1beta1.UserServiceClient, func(), error)
- func InitUserServiceServer(ctx context.Context, logger *zap.Logger) (userv1beta1.UserServiceServer, error)
- type App
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitExecutableSchema ¶
func InitExecutableSchema( rootResolver *resolver.Root, ) graphql.ExecutableSchema
func InitGRPCGatewayServeMux ¶
func InitGRPCGatewayServeMux( ctx context.Context, userServiceServer userv1beta1.UserServiceServer, ) (*runtime.ServeMux, error)
func InitGRPCServer ¶
func InitGRPCServer( userServiceServer userv1beta1.UserServiceServer, todoServiceServer todov1beta1.TodoServiceServer, ) *grpc.Server
func InitHTTPServeMux ¶
func InitHTTPServeMux( c *Config, logger *zap.Logger, executableSchema graphql.ExecutableSchema, dataLoaderMiddleware *middleware.Dataloader, grpcGatewayServeMux *runtime.ServeMux, ) *http.ServeMux
func InitTodoServiceClient ¶
func InitTodoServiceClient( ctx context.Context, c *Config, logger *zap.Logger, ) (todov1beta1.TodoServiceClient, func(), error)
func InitTodoServiceServer ¶
func InitTodoServiceServer( ctx context.Context, logger *zap.Logger, ) (todov1beta1.TodoServiceServer, error)
func InitUserServiceClient ¶
func InitUserServiceClient( ctx context.Context, c *Config, logger *zap.Logger, ) (userv1beta1.UserServiceClient, func(), error)
func InitUserServiceServer ¶
func InitUserServiceServer( ctx context.Context, logger *zap.Logger, ) (userv1beta1.UserServiceServer, error)
Types ¶
type App ¶
Click to show internal directories.
Click to hide internal directories.