services

package
v0.0.0-...-1db98da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoJob

func DoJob()

func Init

func Init()

Types

type PostService

type PostService interface {
	GetAll() (*datamodels.Post, error)
}

func NewPostService

func NewPostService(repo repositories.PostRepository) PostService

type UserService

type UserService interface {
	GetAll() (*datamodels.User, error)
	Exist(username string, password string) (bool, error)
}

func NewUserService

func NewUserService(repo repositories.AuthRepository) UserService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL