Documentation ¶
Index ¶
- Constants
- func DelHeader(h http.Header, c, f string)
- func GetHeader(h http.Header, c, f string) string
- func SetHeader(h http.Header, c, f, v string)
- func SignedRead(r *io.ReadCloser, h http.Header, cs ...string) ([]byte, error)
- func SignedReqBody(r *http.Request, cs ...string) ([]byte, error)
- func SignedResBody(r *http.Response, cs ...string) ([]byte, error)
- func VersionCheck(h http.Header, component string, want *semver.Version) error
Constants ¶
View Source
const ( Prefix string = "Wireleap" API string = "Api" Relay string = "Relay" Contract string = "Contract" Directory string = "Directory" Client string = "Client" Version string = "Version" Pubkey string = "Pubkey" Signature string = "Signature" Challenge string = "Challenge" Response string = "Response" )
Variables ¶
This section is empty.
Functions ¶
func SignedRead ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.