server

package
v0.0.0-...-1a6899c Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ServerSet is server providers. if you want to add rabbitmq, you can append NewRabbitmqConsumerServer in NewSet

Functions

func NewGRPCServer

func NewGRPCServer(cfg *app.Config, svc *service.UserServiceServer) *grpc.Server

NewGRPCServer creates a gRPC server if open grpc, then add second param: svc *service.UserServiceServer

func NewHTTPServer

func NewHTTPServer(c *app.Config, userSvc *service.UserServiceServer) *http.Server

NewHTTPServer creates a HTTP server grpc -> if open http by protocol, then add second param: userSvc userv1.UserServiceHTTPServer

func NewRabbitmqConsumerServer

func NewRabbitmqConsumerServer() *rabbitmq.Server

NewRabbitmqConsumerServer create a redis server

func NewRedisConsumerServer

func NewRedisConsumerServer(c *tasks.Config) *redisMQ.Server

NewRedisConsumerServer create a redis server

Types

This section is empty.

Jump to

Keyboard shortcuts

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