spring_boot_micro_client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MicroClient

type MicroClient struct {
	Config *MicroClientConfig `autowire:""`
	// contains filtered or unexported fields
}

func (*MicroClient) GetService

func (m *MicroClient) GetService() micro.Service

func (*MicroClient) GetServiceName

func (m *MicroClient) GetServiceName() string

type MicroClientConfig

type MicroClientConfig struct {
	Name         string   `value:"${micro.name:=test}"`
	Registry     string   `value:"${micro.registry:=}"`
	RegistryUrl  []string `value:"${micro.registry_url:=127.0.0.1:8500}"`
	Transport    string   `value:"${micro.transport:=}"`
	TransportUrl []string `value:"${micro.transport_url:=127.0.0.1:8500}"`
}

Jump to

Keyboard shortcuts

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