domain

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContactDomain

func NewContactDomain(s store.Store) *contact

Types

type Contact

type Contact interface {
	Create(ctx context.Context, info *pb.ContactInfo) error
	Update(ctx context.Context, id string, info *pb.ContactInfo) error
	Read(ctx context.Context, id string) (result *pb.ContactInfo, err error)
	Delete(ctx context.Context, id string) error
	List(ctx context.Context, offset, limit uint) (result []*pb.ContactInfo, err error)
}

Jump to

Keyboard shortcuts

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