Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrInvalidPortName happens if your port name is illegal ErrInvalidPortName = errors.New("invalid port name, port name must be {protocol}-<suffix>") //ErrInvalidURL happens if your utl is illegal ErrInvalidURL = errors.New("invalid url, url must be {protocol}://{service-name}:{port-name}") )
Functions ¶
func GenProtoEndPoint ¶ added in v1.0.1
GenProtoEndPoint generate proto and port
func ParsePortName ¶
ParsePortName a port name is composite by protocol-name,like http-admin,http-api,grpc-console,grpc-api ParsePortName return two string separately
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.