You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
358 B
Go

package main
import "time"
type AuthRequest struct {
Client *AuthRequestClient
Instance string
ID string
// Indicates when the request was queued for processing
Queued time.Time
}
func (r *AuthRequest) SetId(ID string) error {
r.ID = ID
err := r.Client.PropagateID(ID)
return err
}
func (r *AuthRequest) Cancel() {
r.Client.Close()
}