Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PostResponse ¶
type PostResponse struct { *myhttp.ResponseBase *SessionData }
func NewPostResponse ¶
func NewPostResponse(res *myhttp.ResponseBase, sessionData *SessionData) *PostResponse
type SessionData ¶
type SessionRepository ¶
type SessionRepository struct { }
func (*SessionRepository) Find ¶
func (r *SessionRepository) Find(ctx context.Context, identifier string, password string) (*SessionData, error)
type SessionRequest ¶
func NewSessionRequest ¶
func NewSessionRequest( identifier string, secret string, ) SessionRequest
type SessionService ¶
type SessionService struct {
// contains filtered or unexported fields
}
func (*SessionService) Login ¶
func (s *SessionService) Login(ctx context.Context, identifier string, secret string) (*SessionData, error)
Click to show internal directories.
Click to hide internal directories.