Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartiesRepository ¶
type PartiesRepository interface { Parties() ([]entities.Parties, []error) Party(id int) (*entities.Parties, []error) UpdateParties(Parties *entities.Parties) (*entities.Parties, []error) DeleteParties(id int) (*entities.Parties, []error) StoreParties(Parties *entities.Parties) (*entities.Parties, []error) }
PartiesRepository specifies post related database operations
type PartiesService ¶
type PartiesService interface { Parties() ([]entities.Parties, []error) Party(id int) (*entities.Parties, []error) UpdateParties(pst *entities.Parties) (*entities.Parties, []error) DeleteParties(id int) (*entities.Parties, []error) StoreParties(pst *entities.Parties) (*entities.Parties, []error) }
PostService specifies post services
type SessionRepository ¶
type SessionService ¶
type SessionService interface { Session(sessionID string) (*entities.Session, []error) StoreSession(session *entities.Session) (*entities.Session, []error) DeleteSession(sessionID string) (*entities.Session, []error) }
SessionService specifies logged in user session related service
Click to show internal directories.
Click to hide internal directories.