Documentation
¶
Index ¶
- func Base(sep, path string) string
- func Dir(sep, path string) string
- func InDir(sep, path, dir string) bool
- func Path(sep string, elems ...string) string
- func Split(sep, path string) (dir, file string)
- type AddressDetails
- func (ad AddressDetails) InBalanceSubdomain(path string) bool
- func (ad AddressDetails) InBroadcastSubdomain(path string) bool
- func (ad AddressDetails) InDomain(path string) bool
- func (ad AddressDetails) InMulticastSubdomain(path string) bool
- func (ad AddressDetails) InNodeSubdomain(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddressDetails ¶
type AddressDetails struct { Domain string // 主域 BroadcastSubdomain string // 广播地址子域 BalanceSubdomain string // 负载均衡地址子域 MulticastSubdomain string // 组播地址子域 NodeSubdomain string // 服务节点地址子域 PathSeparator string // 地址路径分隔符 }
AddressDetails 地址信息
func (AddressDetails) InBalanceSubdomain ¶
func (ad AddressDetails) InBalanceSubdomain(path string) bool
func (AddressDetails) InBroadcastSubdomain ¶
func (ad AddressDetails) InBroadcastSubdomain(path string) bool
func (AddressDetails) InDomain ¶
func (ad AddressDetails) InDomain(path string) bool
func (AddressDetails) InMulticastSubdomain ¶
func (ad AddressDetails) InMulticastSubdomain(path string) bool
func (AddressDetails) InNodeSubdomain ¶
func (ad AddressDetails) InNodeSubdomain(path string) bool
Click to show internal directories.
Click to hide internal directories.