util

package
v0.0.0-...-233725d Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPort

func GetPort(endpoint string) int

GetPort gets port number from endpoint.

func LoadConfigOrPanic

func LoadConfigOrPanic(cfgPath string, ptr interface{})

LoadConfigOrPanic 加载配置, 如果加载失败就直接panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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