mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
28 lines
645 B
Go
28 lines
645 B
Go
package header
|
|||
|
|
|
||
|
|
type Key string
|
||
|
|
|
||
|
|
const (
|
||
|
|
Authorization Key = "Authorization"
|
||
|
|
|
||
|
|
// User Agent
|
||
|
|
Architecture Key = "Sec-CH-UA-Arch"
|
||
|
|
Bitness Key = "Sec-CH-UA-Bitness"
|
||
|
|
FullVersionList Key = "Sec-CH-UA-Full-Version-List"
|
||
|
|
Mobile Key = "Sec-CH-UA-Mobile"
|
||
|
|
Model Key = "Sec-CH-UA-Model"
|
||
|
|
Platform Key = "Sec-CH-UA-Platform"
|
||
|
|
PlatformVersion Key = "Sec-CH-UA-Platform-Version"
|
||
|
|
UserAgent Key = "Sec-CH-UA"
|
||
|
|
|
||
|
|
// Sonr Injected
|
||
|
|
SonrAPIURL Key = "X-Sonr-API"
|
||
|
|
SonrgRPCURL Key = "X-Sonr-GRPC"
|
||
|
|
SonrRPCURL Key = "X-Sonr-RPC"
|
||
|
|
SonrWSURL Key = "X-Sonr-WS"
|
||
|
|
)
|
||
|
|
|
||
|
|
func (h Key) String() string {
|
||
|
|
return string(h)
|
||
|
|
}
|