Skip to content

Commit

Permalink
update names
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Jan 24, 2024
1 parent 9327620 commit 6408fde
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/confignet/confignet.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ const (
IP TransportType = "ip"
IP4 TransportType = "ip4"
IP6 TransportType = "ip6"
UNIX TransportType = "unix"
UNIXGRAM TransportType = "unixgram"
UNIXPACKET TransportType = "unixpacket"
Unix TransportType = "unix"
Unixgram TransportType = "unixgram"
Unixpacket TransportType = "unixpacket"
)

// UnmarshalText unmarshalls text to a TransportType.
Expand All @@ -42,9 +42,9 @@ func (tt *TransportType) UnmarshalText(in []byte) error {
IP,
IP4,
IP6,
UNIX,
UNIXGRAM,
UNIXPACKET:
Unix,
Unixgram,
Unixpacket:
*tt = typ
return nil
default:
Expand Down

0 comments on commit 6408fde

Please sign in to comment.