webdto

package
v1.0.2-dev-10 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MulanPSL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectCenterInfo

func InjectCenterInfo(s *CenterInfo)

func LoadCenterInfo

func LoadCenterInfo() baseiface.ISingleton

Types

type CenterInfo

type CenterInfo struct {
	basedto.BaseEntity

	ServiceName string `json:"service_name"`
	Ip          string `json:"ip"`
	Port        int    `json:"port"`
}

func FindBeanCenterInfo

func FindBeanCenterInfo() *CenterInfo

func NewCenterInfo

func NewCenterInfo() *CenterInfo

func (*CenterInfo) From

func (self *CenterInfo) From(str string)

func (*CenterInfo) FromResult

func (self *CenterInfo) FromResult(result *basedto.IchubResult)

func (*CenterInfo) ToHostUrl

func (self *CenterInfo) ToHostUrl() string

Jump to

Keyboard shortcuts

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