Documentation ¶
Index ¶
- type TService
- func (s *TService) GetStepRev(ctx context.Context, trailID string, rev string) (step *trailmodels.Step, rerr *utils.RError)
- func (s *TService) GetTrailObjectsWithAccess(ctx context.Context, deviceID, rev, owner, authType string, isPublic bool, ...) (owa []objects.ObjectWithAccess, rerr *utils.RError)
- type TrailService
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 ¶
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
Click to show internal directories.
Click to hide internal directories.