Documentation ¶
Index ¶
- type Provider
- func (p *Provider) CreateImage(base64File, name string) (int64, error)
- func (p *Provider) CreateTask(title, description, status string, assignee int64) error
- func (p *Provider) CreateToken(userId int64, hash []byte, expiry time.Time) error
- func (p *Provider) CreateUser(email, name string, avatarId *int64, passwordHash []byte) error
- func (p *Provider) GetAllTasks(status string) ([]*domain.Task, error)
- func (p *Provider) GetImage(id int64) (*string, *string, error)
- func (p *Provider) GetUser(email string) (*domain.User, error)
- func (p *Provider) GetUserFromToken(token []byte) (*domain.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) CreateImage ¶
func (*Provider) CreateTask ¶
func (*Provider) CreateToken ¶
func (*Provider) CreateUser ¶
func (*Provider) GetAllTasks ¶
Click to show internal directories.
Click to hide internal directories.