consul

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsulServiceRegistry

func NewConsulServiceRegistry(consulIpAndPort string, token string) (*consulServiceRegistry, error)

new a consulServiceRegistry instance token is optional

func RequestApiByServiceInstance added in v0.0.7

func RequestApiByServiceInstance(serviceInstance cloud.ServiceInstance, method string, path string, body io.Reader) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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