out_port

package
v0.0.0-...-694eafd Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRepo

type AuthRepo interface {
	Store(token string, expires time.Duration, data interface{}) error
	Get(id string) string
	Remove(id string) error
}

type MediaRepo

type MediaRepo interface {
	UploadMedia(mime_type string, bytes []byte) (string, error)
}

type ProjectRepo

type ProjectRepo interface {
	GetProjectsByUserID(id string) (domain.Projects, int64, error)
	Get(id string) domain.Project
	Set(project domain.Project) error
	Add(project domain.Project) (string, error)
	Remove(project domain.Project) error
}

type ResumeRepo

type ResumeRepo interface {
	GetByUserID(id string) (domain.Resumes, int64, error)
	Get(id string) domain.Resume
	Set(resume domain.Resume) error
	Add(resume domain.Resume) (string, error)
	Remove(resume domain.Resume) error
}

type UserRepo

type UserRepo interface {
	Get(id string) domain.User
	GetByUserName(username string) domain.User
	Set(user domain.User) error
	Add(user domain.User) (string, error)
	Remove(user domain.User) error
}

User repo to connect to a store

Jump to

Keyboard shortcuts

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