cmd

package
v0.0.0-...-8fc9d4d Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadConfigEnv

func ReadConfigEnv(cfg *Config) error

ReadConfigEnv - APIサーバに関する設定を読み込む

func RunServer

func RunServer() error

RunServer runs gRPC server and HTTP gateway

Types

type Config

type Config struct {
	// gRPC server start parameters section
	// gRPC is TCP port to listen by gRPC server
	GRPCHost string `split_words:"true"`
	GRPCPort string `split_words:"true"`
}

Config - サーバのホストとポートのコンフィグ

Jump to

Keyboard shortcuts

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