Documentation ¶
Index ¶
- type Service
- func (s *Service) AddressEnrolment(btyAddr, btcAddr string) error
- func (s *Service) AddressRetrieve(addr string) (*model.AddrBackup, error)
- func (s Service) Config() *config.Config
- func (s *Service) EditMnemonic(addr, mne string) error
- func (s *Service) EmailBinding(addr, email, code, mnemonic string) error
- func (s *Service) EmailBindingV2(addr, email, code, mnemonic string) error
- func (s *Service) EmailExport(addr, email, code string) (bool, error)
- func (s *Service) EmailIsBound(email string) (bool, error)
- func (s *Service) EmailRetrieve(email, code string) (*model.AddrBackup, error)
- func (s *Service) GetAddress(req *model.GetAddressRequest) (res *model.GetAddressResponse, err error)
- func (s *Service) PhoneBinding(addr, area, phone, code, mnemonic string) error
- func (s *Service) PhoneBindingV2(addr, area, phone, code, mnemonic string) error
- func (s *Service) PhoneExport(addr, area, phone, code string) (bool, error)
- func (s *Service) PhoneIsBound(area, phone string) (bool, error)
- func (s *Service) PhoneRelate(addr, area, phone, mnemonic string) error
- func (s *Service) PhoneRetrieve(area, phone, code string) (*model.AddrBackup, error)
- func (s *Service) Ping() error
- func (s *Service) SendEmailCode(codeType, email string) error
- func (s *Service) SendPhoneCode(codeType, phone string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddressEnrolment ¶
func (*Service) AddressRetrieve ¶
func (s *Service) AddressRetrieve(addr string) (*model.AddrBackup, error)
func (*Service) EditMnemonic ¶
func (*Service) EmailBinding ¶
func (*Service) EmailBindingV2 ¶
func (*Service) EmailIsBound ¶
--------------------email-------------//
func (*Service) EmailRetrieve ¶
func (s *Service) EmailRetrieve(email, code string) (*model.AddrBackup, error)
func (*Service) GetAddress ¶
func (s *Service) GetAddress(req *model.GetAddressRequest) (res *model.GetAddressResponse, err error)
func (*Service) PhoneBinding ¶
func (*Service) PhoneBindingV2 ¶
func (*Service) PhoneExport ¶
func (*Service) PhoneRelate ¶
关联手机号
func (*Service) PhoneRetrieve ¶
func (s *Service) PhoneRetrieve(area, phone, code string) (*model.AddrBackup, error)
func (*Service) SendEmailCode ¶
func (*Service) SendPhoneCode ¶
Click to show internal directories.
Click to hide internal directories.