Documentation ¶
Index ¶
- func NewKeycodeRepository() repository_keycode.Interface
- type KeycodeRepository
- func (d *KeycodeRepository) DeleteKeycode(keycode string) error
- func (d *KeycodeRepository) GetKeycodeDetail(code string) (repository_keycode.Detail, error)
- func (d *KeycodeRepository) GetRegistrationData() (string, error)
- func (d *KeycodeRepository) SendKeycode(keycode string) error
- func (d *KeycodeRepository) SendSignatureData(keycode string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKeycodeRepository ¶
func NewKeycodeRepository() repository_keycode.Interface
NewKeycodeRepository creates keycode repository that storing keycode to Alameda-Datahub
Types ¶
type KeycodeRepository ¶
type KeycodeRepository struct { }
KeycodeRepository wraps datahub client
func (*KeycodeRepository) DeleteKeycode ¶
func (d *KeycodeRepository) DeleteKeycode(keycode string) error
DeleteKeycode deletes keycode from Alameda-Datahub
func (*KeycodeRepository) GetKeycodeDetail ¶
func (d *KeycodeRepository) GetKeycodeDetail(code string) (repository_keycode.Detail, error)
GetKeycodeDetail gets Keycode details from Alameda-Datahub
func (*KeycodeRepository) GetRegistrationData ¶
func (d *KeycodeRepository) GetRegistrationData() (string, error)
GetRegistrationData gets registration data from Alameda-Datahub
func (*KeycodeRepository) SendKeycode ¶
func (d *KeycodeRepository) SendKeycode(keycode string) error
SendKeycode sends keycode to Alameda-Datahub
func (*KeycodeRepository) SendSignatureData ¶
func (d *KeycodeRepository) SendSignatureData(keycode string) error
SendSignatureData sends signature data to Alameda-Datahub
Click to show internal directories.
Click to hide internal directories.