server

package
v0.0.0-...-7d1b39b Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewDiscovery

func NewDiscovery(conf *conf.Registry) registry.Discovery

func NewGRPCServer

func NewGRPCServer(c *conf.Server, user *service.UserService, logger log.Logger) *grpc.Server

NewGRPCServer new a user service gRPC server.

func NewHTTPServer

func NewHTTPServer(c *conf.Server, t *conf.JWT, user *service.UserService, logger log.Logger) *http.Server

NewHTTPServer new a user service HTTP server.

func NewRegistrar

func NewRegistrar(conf *conf.Registry) registry.Registrar

func NewRelationClient

func NewRelationClient(r registry.Discovery, logger log.Logger) relationv1.RelationServiceClient

NewRelationClient 创建一个Relation服务客户端,接收Relation服务数据

Types

This section is empty.

Jump to

Keyboard shortcuts

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