Documentation ¶
Index ¶
- func Base(sep, path string) string
- func Dir(sep, path string) string
- func Equal(sep, a, b string) bool
- func InDir(sep, path, dir string) bool
- func Join(sep string, elems ...string) string
- func Root(sep, path string) string
- func Split(sep, path string) (dir, file string)
- type NodeDetails
- func (d NodeDetails) BalanceSubdomainJoin(elems ...string) string
- func (d NodeDetails) BroadcastSubdomainJoin(elems ...string) string
- func (d NodeDetails) DomainJoin(elems ...string) string
- func (d NodeDetails) EqualBalanceSubdomain(path string) bool
- func (d NodeDetails) EqualBroadcastSubdomain(path string) bool
- func (d NodeDetails) EqualDomain(path string) bool
- func (d NodeDetails) EqualMulticastSubdomain(path string) bool
- func (d NodeDetails) EqualNodeSubdomain(path string) bool
- func (d NodeDetails) InBalanceSubdomain(path string) bool
- func (d NodeDetails) InBroadcastSubdomain(path string) bool
- func (d NodeDetails) InDomain(path string) bool
- func (d NodeDetails) InMulticastSubdomain(path string) bool
- func (d NodeDetails) InNodeSubdomain(path string) bool
- func (d NodeDetails) MulticastSubdomainJoin(elems ...string) string
- func (d NodeDetails) NodeSubdomainJoin(elems ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeDetails ¶ added in v0.1.36
type NodeDetails struct { Domain string // 主域 BroadcastSubdomain string // 广播地址子域 BalanceSubdomain string // 负载均衡地址子域 MulticastSubdomain string // 组播地址子域 NodeSubdomain string // 单播地址子域 PathSeparator string // 地址路径分隔符 }
NodeDetails 节点地址信息
func (NodeDetails) BalanceSubdomainJoin ¶ added in v0.1.93
func (d NodeDetails) BalanceSubdomainJoin(elems ...string) string
func (NodeDetails) BroadcastSubdomainJoin ¶ added in v0.1.93
func (d NodeDetails) BroadcastSubdomainJoin(elems ...string) string
func (NodeDetails) DomainJoin ¶ added in v0.1.93
func (d NodeDetails) DomainJoin(elems ...string) string
func (NodeDetails) EqualBalanceSubdomain ¶ added in v0.1.93
func (d NodeDetails) EqualBalanceSubdomain(path string) bool
func (NodeDetails) EqualBroadcastSubdomain ¶ added in v0.1.93
func (d NodeDetails) EqualBroadcastSubdomain(path string) bool
func (NodeDetails) EqualDomain ¶ added in v0.1.93
func (d NodeDetails) EqualDomain(path string) bool
func (NodeDetails) EqualMulticastSubdomain ¶ added in v0.1.93
func (d NodeDetails) EqualMulticastSubdomain(path string) bool
func (NodeDetails) EqualNodeSubdomain ¶ added in v0.1.93
func (d NodeDetails) EqualNodeSubdomain(path string) bool
func (NodeDetails) InBalanceSubdomain ¶ added in v0.1.36
func (d NodeDetails) InBalanceSubdomain(path string) bool
func (NodeDetails) InBroadcastSubdomain ¶ added in v0.1.36
func (d NodeDetails) InBroadcastSubdomain(path string) bool
func (NodeDetails) InDomain ¶ added in v0.1.36
func (d NodeDetails) InDomain(path string) bool
func (NodeDetails) InMulticastSubdomain ¶ added in v0.1.36
func (d NodeDetails) InMulticastSubdomain(path string) bool
func (NodeDetails) InNodeSubdomain ¶ added in v0.1.36
func (d NodeDetails) InNodeSubdomain(path string) bool
func (NodeDetails) MulticastSubdomainJoin ¶ added in v0.1.93
func (d NodeDetails) MulticastSubdomainJoin(elems ...string) string
func (NodeDetails) NodeSubdomainJoin ¶ added in v0.1.93
func (d NodeDetails) NodeSubdomainJoin(elems ...string) string
Click to show internal directories.
Click to hide internal directories.