Back to godoc.org
go.uber.org/yarpc / internal

Package internal

v1.46.0
Latest Go to latest
Published: May 21, 2020 | License: MIT | Module: go.uber.org/yarpc

Index

Package Files

func ValidateServiceName

func ValidateServiceName(name string) error

ValidateServiceName returns an error if the given servive name is invalid. Valid names are at least two characters long, start with [a-z], contain only [0-9a-z] and non-consecutive hyphens, and end in [0-9a-z]. Furthermore, names may not contain UUIDs.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier