service

package
v0.0.0-...-42e0021 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoPost

func DoPost(param string, url string) (*http.Response, error)

func DoRegister

func DoRegister(req *http.Request) (*http.Response, error)

func GetAppConf

func GetAppConf(FilePath string) (model.AppConf, error)

func GetConf

func GetConf(path string) (model.AppInstanceInfo, error)

get yaml and parse to struct

func RegisterToMep

func RegisterToMep(param string, url string) (string, error)

register to mep

func SvcReg

func SvcReg(confPath string) (string, error)

func TlsConfig

func TlsConfig() (*tls.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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