server

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func HealthHandler added in v1.1.0

func HealthHandler(svc *service.GameService) *http.ServeMux

func NewGRPCServer

func NewGRPCServer(
	c *conf.Bootstrap,
	svc *service.GameService,
	authClient auth.AuthClient,
) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(
	c *conf.Bootstrap,
	svc *service.GameService,
	authClient auth.AuthClient,
) *http.Server

NewHTTPServer new a HTTP server.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL