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 SameDir(sep, path, dir string) bool
- func Split(sep, path string) (dir, file string)
- type NodeDetails
- 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) SameBalanceSubdomain(path string) bool
- func (d NodeDetails) SameBroadcastSubdomain(path string) bool
- func (d NodeDetails) SameDomain(path string) bool
- func (d NodeDetails) SameMulticastSubdomain(path string) bool
- func (d NodeDetails) SameNodeSubdomain(path string) bool
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) 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) SameBalanceSubdomain ¶ added in v0.1.36
func (d NodeDetails) SameBalanceSubdomain(path string) bool
func (NodeDetails) SameBroadcastSubdomain ¶ added in v0.1.36
func (d NodeDetails) SameBroadcastSubdomain(path string) bool
func (NodeDetails) SameDomain ¶ added in v0.1.36
func (d NodeDetails) SameDomain(path string) bool
func (NodeDetails) SameMulticastSubdomain ¶ added in v0.1.36
func (d NodeDetails) SameMulticastSubdomain(path string) bool
func (NodeDetails) SameNodeSubdomain ¶ added in v0.1.36
func (d NodeDetails) SameNodeSubdomain(path string) bool
Click to show internal directories.
Click to hide internal directories.