extn

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcService

func NewGrpcService(port int, logger log.Logger, mw []middleware.Middleware) (*grpc.Server, func(), error)

func RegisterServices

func RegisterServices(grpcServer *grpc.Server, httpServer *http.Server, services ...ApiService)

Types

type ApiService

type ApiService interface {
	RegisterGrpc(server *grpc.Server)
	RegisterHttp(server *http.Server)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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