aboutsummaryrefslogtreecommitdiff
path: root/weed/util/http/client/http_client_name.go
blob: aedaebbc60ad3ca5fc8dab531c594fe9586a9329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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())
}