domain

package
v0.30.4 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCharacterNotFound = errgo.MsgNoTrace(ErrNotFound, "character not found")
View Source
var ErrEpisodeNotFound = errgo.MsgNoTrace(ErrNotFound, "episode not found")
View Source
var ErrExists = errors.New("item already exists")
View Source
var ErrInput = errors.New("input not valid")
View Source
var ErrNotFound = errors.New("can't find item")

ErrNotFound should be returned when a repo or service can't find an authorization.

View Source
var ErrPersonNotFound = errgo.MsgNoTrace(ErrNotFound, "person not found")
View Source
var ErrSubjectNotCollected = errgo.MsgNoTrace(ErrNotFound, "subject is not collected by user")
View Source
var ErrSubjectNotFound = errgo.MsgNoTrace(ErrNotFound, "subject not found")
View Source
var ErrUserNotFound = errgo.MsgNoTrace(ErrNotFound, "user not found")

Functions

This section is empty.

Types

type PersonCharacterRelation added in v0.10.1

type PersonCharacterRelation struct {
	CharacterID model.CharacterID
	PersonID    model.PersonID
	SubjectID   model.SubjectID
}

type SubjectCharacterRelation added in v0.10.1

type SubjectCharacterRelation struct {
	TypeID uint8

	SubjectID   model.SubjectID
	CharacterID model.CharacterID
}

type SubjectInternalRelation added in v0.10.1

type SubjectInternalRelation struct {
	TypeID uint16

	SourceID      model.SubjectID
	DestinationID model.SubjectID
}

func (SubjectInternalRelation) GetSourceID added in v0.30.3

func (s SubjectInternalRelation) GetSourceID() model.SubjectID

type SubjectPersonRelation added in v0.10.1

type SubjectPersonRelation struct {
	TypeID uint16

	PersonID  model.PersonID
	SubjectID model.SubjectID
}

Jump to

Keyboard shortcuts

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