rest

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(opt Opt) error

RunServer runs HTTP/REST gateway

Types

type Opt

type Opt struct {
	ShutdownCtx context.Context
	GrpcPort    string
	HttpPort    string
	Host        string
	AccessLog   *zap.Logger
	Logger      *zap.Logger
}

RunServer runs gRPC service to publish ToDo service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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