server

package
v0.0.0-...-048bef2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewGRPCServer)

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(
	cfg *app.ServerConfig,
	postSvc *service.PostServiceServer,
	commentSvc *service.CommentServiceServer,
	likeSvc *service.LikeServiceServer,
) *grpc.Server

NewGRPCServer creates a gRPC server

func NewHTTPServer

func NewHTTPServer(c *app.ServerConfig) *http.Server

NewHTTPServer creates a HTTP server

Types

This section is empty.

Jump to

Keyboard shortcuts

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