util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressToString

func AddressToString(addr *pb.TcpAddress) string

func AddressesToString

func AddressesToString(addrs []pb.TcpAddress) string

func IPToString

func IPToString(ip *pb.IPAddress) string

func IPV4

func IPV4(a1, a2, a3, a4 uint8) *pb.IPAddress

func NewGrpcServer

func NewGrpcServer() *grpc.Server

returns a grpc server pre-configured with prometheus interceptors

func ParseIPV4

func ParseIPV4(ip string) (*pb.IPAddress, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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