Versions in this module Expand all Collapse all v0 v0.1.0 Feb 9, 2024 Changes in this version + type Message struct + Headers map[string]string + MessagePayload string + type RequestMessage struct + Method string + Path string + QueryParams map[string][]string + Url string + func Delete(pathElements ...string) *RequestMessage + func Get(pathElements ...string) *RequestMessage + func Head(pathElements ...string) *RequestMessage + func Options(pathElements ...string) *RequestMessage + func Patch(pathElements ...string) *RequestMessage + func Post(pathElements ...string) *RequestMessage + func Put(pathElements ...string) *RequestMessage + func Trace(pathElements ...string) *RequestMessage + func (request *RequestMessage) Authorization(value string) *RequestMessage + func (request *RequestMessage) BaseUrl(baseUrl string) *RequestMessage + func (request *RequestMessage) Clone() *RequestMessage + func (request *RequestMessage) ContentType(value string) *RequestMessage + func (request *RequestMessage) Equals(other *RequestMessage) bool + func (request *RequestMessage) Header(key string, value string) *RequestMessage + func (request *RequestMessage) Payload(payload string) *RequestMessage + func (request *RequestMessage) QueryParam(key string, values ...string) *RequestMessage + func (request *RequestMessage) ToString() string + type ResponseMessage struct + StatusCode int + func Response(statusCode int) *ResponseMessage + func (response *ResponseMessage) Clone() *ResponseMessage + func (response *ResponseMessage) ContentType(value string) *ResponseMessage + func (response *ResponseMessage) ETag(value string) *ResponseMessage + func (response *ResponseMessage) Equals(other *ResponseMessage) bool + func (response *ResponseMessage) Header(key string, value string) *ResponseMessage + func (response *ResponseMessage) Payload(payload string) *ResponseMessage + func (response *ResponseMessage) ToString() string