mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-30 21:25:32 +08:00
15 lines
259 B
Go
15 lines
259 B
Go
|
package client
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
type ClientName int
|
||
|
|
||
|
//go:generate stringer -type=ClientName -output=http_client_name_string.go
|
||
|
const (
|
||
|
Client ClientName = iota
|
||
|
)
|
||
|
|
||
|
func (name *ClientName) LowerCaseString() string {
|
||
|
return strings.ToLower(name.String())
|
||
|
}
|