Versions in this module Expand all Collapse all v0 v0.15.0 Feb 5, 2021 v0.14.0 Nov 18, 2020 Changes in this version + type Error struct + Code ErrorCode + Description string + MessageId string + func NewError(errorCode ErrorCode, description string, messageId string) *Error + func (err *Error) Error() string + type ErrorCode string + type Feature interface + GetFeatureName func() string + GetRequestType func() reflect.Type + GetResponseType func() reflect.Type + type Profile struct + Features map[string]Feature + Name string + func NewProfile(name string, features ...Feature) *Profile + func (p *Profile) AddFeature(feature Feature) + func (p *Profile) GetFeature(name string) Feature + func (p *Profile) ParseRequest(featureName string, rawRequest interface{}, ...) (Request, error) + func (p *Profile) ParseResponse(featureName string, rawResponse interface{}, ...) (Response, error) + func (p *Profile) SupportsFeature(name string) bool + type Request interface + GetFeatureName func() string + type Response interface + GetFeatureName func() string