Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Svc service
}
func NewHandler ¶
func NewHandler(svc service) *Handler
type MongoDBRepository ¶
type MongoDBRepository struct {
// contains filtered or unexported fields
}
func NewMongoDBRepo ¶
func NewMongoDBRepo(session *mgo.Session) *MongoDBRepository
type RepoProvider ¶
type Service ¶
type Service struct {
Repo RepoProvider
}
func NewService ¶
func NewService(repo RepoProvider) *Service
Click to show internal directories.
Click to hide internal directories.