object

package
v0.0.0-...-860e413 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToDetailsPb

func AddToDetailsPb(
	sequence uint64,
	creationDate time.Time,
	resourceOwner string,
) *object_pb.ObjectDetails

func ChangeToDetailsPb

func ChangeToDetailsPb(
	sequence uint64,
	changeDate time.Time,
	resourceOwner string,
) *object_pb.ObjectDetails

func DomainToAddDetailsPb

func DomainToAddDetailsPb(objectDetail *domain.ObjectDetails) *object_pb.ObjectDetails

func DomainToChangeDetailsPb

func DomainToChangeDetailsPb(objectDetail *domain.ObjectDetails) *object_pb.ObjectDetails

func ListQueryToModel

func ListQueryToModel(query *object_pb.ListQuery) (offset, limit uint64, asc bool)

func TextMethodToModel

func TextMethodToModel(method object_pb.TextQueryMethod) domain.SearchMethod

func TextMethodToQuery

func TextMethodToQuery(method object_pb.TextQueryMethod) query.TextComparison

func ToListDetails

func ToListDetails(
	totalResult,
	processedSequence uint64,
	viewTimestamp time.Time,
) *object_pb.ListDetails

func ToViewDetailsPb

func ToViewDetailsPb(
	sequence uint64,
	creationDate,
	changeDate time.Time,
	resourceOwner string,
) *object_pb.ObjectDetails

Types

This section is empty.

Jump to

Keyboard shortcuts

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