trailservices

package
v0.0.0-...-c9f6891 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TService

type TService struct {
	// contains filtered or unexported fields
}

func (*TService) GetStepRev

func (s *TService) GetStepRev(ctx context.Context, trailID string, rev string) (step *trailmodels.Step, rerr *utils.RError)

func (*TService) GetTrailObjectsWithAccess

func (s *TService) GetTrailObjectsWithAccess(
	ctx context.Context,
	deviceID,
	rev,
	owner,
	authType string,
	isPublic bool,
	frags string,
) (owa []objects.ObjectWithAccess, rerr *utils.RError)

type TrailService

type TrailService interface {
	GetTrailObjectsWithAccess(ctx context.Context, deviceID, rev, owner, authType string, isPublic bool, frags string) (owa []objects.ObjectWithAccess, rerr *utils.RError)
	GetStepRev(ctx context.Context, trailID string, rev string) (*trailmodels.Step, *utils.RError)
}

func CreateService

func CreateService(client *mongo.Client, db string) TrailService

Jump to

Keyboard shortcuts

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