Documentation ¶
Index ¶
- func NewSessionService(sessRepository parties.SessionRepository) parties.SessionService
- type PartiesServiceImple
- func (ps *PartiesServiceImple) DeleteParties(id int) (*entities.Parties, []error)
- func (ps *PartiesServiceImple) Parties() ([]entities.Parties, []error)
- func (ps *PartiesServiceImple) Party(id int) (*entities.Parties, []error)
- func (ps *PartiesServiceImple) StoreParties(pst *entities.Parties) (*entities.Parties, []error)
- func (ps *PartiesServiceImple) UpdateParties(pst *entities.Parties) (*entities.Parties, []error)
- type SessionServiceImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionService ¶
func NewSessionService(sessRepository parties.SessionRepository) parties.SessionService
NewSessionService returns a new SessionService object
Types ¶
type PartiesServiceImple ¶
type PartiesServiceImple struct {
PartiesRepo parties.PartiesRepository
}
func NewPartiesService ¶
func NewPartiesService(partiesrepo parties.PartiesRepository) *PartiesServiceImple
func (*PartiesServiceImple) DeleteParties ¶
func (ps *PartiesServiceImple) DeleteParties(id int) (*entities.Parties, []error)
func (*PartiesServiceImple) Parties ¶
func (ps *PartiesServiceImple) Parties() ([]entities.Parties, []error)
func (*PartiesServiceImple) Party ¶
func (ps *PartiesServiceImple) Party(id int) (*entities.Parties, []error)
func (*PartiesServiceImple) StoreParties ¶
func (*PartiesServiceImple) UpdateParties ¶
type SessionServiceImpl ¶
type SessionServiceImpl struct {
// contains filtered or unexported fields
}
SessionServiceImpl implements user.SessionService interface
func (*SessionServiceImpl) DeleteSession ¶
func (ss *SessionServiceImpl) DeleteSession(sessionID string) (*entities.Session, []error)
DeleteSession deletes a given session
func (*SessionServiceImpl) Session ¶
func (ss *SessionServiceImpl) Session(sessionID string) (*entities.Session, []error)
Session returns a given stored session
func (*SessionServiceImpl) StoreSession ¶
StoreSession stores a given session
Click to show internal directories.
Click to hide internal directories.