Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) RegisterAccount ¶
type KeyPairPayload ¶
type KeyPairPayload struct {
UserID string
}
type KeyPairResult ¶
type NewKeyPairPayload ¶
type NewKeyPairPayload struct {
UserID string
}
type NewTokenPayload ¶
type NewTokenPayload struct {
UserID string
}
type Notification ¶
type NotificationPayload ¶
type NotificationPayload struct { To []string Notification Notification }
type NotificationResult ¶
type ServiceHTTP ¶
type ServiceHTTP interface { SendNotificationHTTP(*NotificationPayload) (*NotificationResult, error) // GenerateNewKeyPairHTTP(*NewKeyPairPayload) (*KeyPairResult, error) GenerateNewTokenForUserHTTP(*NewTokenPayload) (*TokenResult, error) // GetKeyPairHTTP(*KeyPairPayload) (*KeyPairResult, error) GetTokenHTTP(*TokenPayload) (*TokenResult, error) }
type TokenPayload ¶
type TokenPayload struct {
UserID string
}
type TokenResult ¶
Click to show internal directories.
Click to hide internal directories.