models

package
v0.3.9-5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SServiceRegistry

type SServiceRegistry struct {
	base.SEtcdBaseModel

	Provider    string
	Environment string
	Region      string
	Zone        string

	ServiceType string

	Address string
	Port    int
}

type SServiceRegistryManager

type SServiceRegistryManager struct {
	base.SEtcdBaseModelManager
}
var ServiceRegistryManager *SServiceRegistryManager

func (*SServiceRegistryManager) Register

func (manager *SServiceRegistryManager) Register(ctx context.Context, addr string, port int,
	provider string, env string, region string, zone string, serviceType string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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