# README
utils
import github.com/projectbadger/brocade-go/utils
Index
Variables
var (
ErrContentTypeInvalid = brocade_errors.New("content type is invalid")
ErrContentTypeNil = brocade_errors.New("content type is nil")
ErrNoParsableContentFound = brocade_errors.New("no parsable content found")
)
func Base64URLDecode()
base64URLDecode BASE64 URL decodes the content without any padding.
func Base64URLDecode(content []byte) []byte
func Base64URLEncode()
base64URLEncode BASE64 URL encodes the content without any padding.
func Base64URLEncode(content []byte) []byte
type ContentType
type ContentType string
func (*ContentType) Marshal() error
func (ct *ContentType) Marshal(v interface{}) ([]byte, error)
func (*ContentType) SetRequestHeaders()
func (ct *ContentType) SetRequestHeaders(req *http.Request)
func (*ContentType) String() string
func (ct *ContentType) String() string
func (*ContentType) Unmarshal() brocade_errors
func (ct *ContentType) Unmarshal(data []byte, v interface{}) brocade_errors.BrocadeErr
func (*ContentType) UnmarshalResponse() brocade_errors
func (ct *ContentType) UnmarshalResponse(data []byte, v interface{}) brocade_errors.BrocadeErr
func (*ContentType) Valid() bool
func (ct *ContentType) Valid() bool
type RequestClient
type RequestClient interface {
Do(*http.Request) (*http.Response, error)
}
# Packages
No description provided by the author
# Functions
base64URLDecode BASE64 URL decodes the content without any padding.
base64URLEncode BASE64 URL encodes the content without any padding.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author