grpc

package
v0.0.0-...-d2a45df Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(opt Opt) error

Types

type Opt

type Opt struct {
	ShutdownCtx       context.Context
	AadhaarServiceOpt service.NewAadhaarServiceI
	ServerOpt         ServerOpt
	Port              string
	Host              string
}

RunServer runs gRPC service to publish ToDo service

type ServerOpt

type ServerOpt interface {
	GetLogger() *zap.Logger
	GetAccessLogger() *zap.Logger
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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