utils

package
v0.0.0-...-530387d Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPrefix

func BuildPrefix(info common.ServerNodeInfo) string

BuildPrefix has last "/"

func BuildRegPath

func BuildRegPath(info common.ServerNodeInfo) string

func Exist

func Exist(l []resolver.Address, addr resolver.Address) bool

Exist helper function

func Remove

func Remove(s []resolver.Address, addr resolver.Address) ([]resolver.Address, bool)

Remove helper function

func SplitPath

func SplitPath(path, prefix string) string

split addr from reg full path ip:port

Types

This section is empty.

Jump to

Keyboard shortcuts

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