server

package
v0.0.0-...-6819526 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RpcDial

func RpcDial(serverName string) (*grpc.ClientConn, error)

func RunHttpServer

func RunHttpServer(addr string, register RegisterHttpFn)

func RunRpcServer

func RunRpcServer(addr string, register RegisterRpcFn)

Types

type RegisterHttpFn

type RegisterHttpFn func(e *gin.Engine)

type RegisterRpcFn

type RegisterRpcFn func(server *grpc.Server)

RPC server

Jump to

Keyboard shortcuts

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