spacerepo

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "push.spacerepo"

Variables

View Source
var (
	ErrSpaceExists   = errors.New("space already exists")
	ErrSpaceNotFound = errors.New("space not found")
)

Functions

This section is empty.

Types

type SpaceRepo

type SpaceRepo interface {
	Create(ctx context.Context, space domain.Space) (err error)
	Remove(ctx context.Context, space domain.Space) (err error)
	ExistedSpaces(ctx context.Context, spaceIds []string) (existedIds []string, err error)
	app.ComponentRunnable
}

func New

func New() SpaceRepo

Directories

Path Synopsis
Package mock_spacerepo is a generated GoMock package.
Package mock_spacerepo is a generated GoMock package.

Jump to

Keyboard shortcuts

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