Documentation
¶
Index ¶
- func CreateState(info Info) (*State, *ConsentCode)
- type ConsentCode
- type Info
- type State
- func (s *State) Hash() string
- func (s State) MarshalJSON() ([]byte, error)
- func (s *State) Parse() (info Info)
- func (s *State) PollingCode() string
- func (s *State) Scan(src interface{}) error
- func (s State) State() string
- func (s *State) UnmarshalJSON(data []byte) error
- func (s State) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateState ¶ added in v0.2.0
func CreateState(info Info) (*State, *ConsentCode)
Types ¶
type ConsentCode ¶ added in v0.2.0
type ConsentCode struct {
// contains filtered or unexported fields
}
func NewConsentCode ¶ added in v0.2.0
func NewConsentCode(info Info) *ConsentCode
func ParseConsentCode ¶ added in v0.2.0
func ParseConsentCode(cc string) *ConsentCode
func (*ConsentCode) GetState ¶ added in v0.2.0
func (c *ConsentCode) GetState() string
func (*ConsentCode) String ¶ added in v0.2.0
func (c *ConsentCode) String() string
type Info ¶ added in v0.2.0
type Info struct {
Native bool
ResponseType pkgModel.ResponseType
}
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (State) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface
func (*State) PollingCode ¶
func (*State) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.