domain

package
v0.0.0-...-2be0f72 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccess

func NewAccess(projects dai.Projects, files dai.Files, users dai.Users) *access

NewAccess creates a new Access.

Types

type Access

type Access interface {
	AllowedByOwner(projectID, user string) bool
	GetFile(apikey, fileID string) (*schema.File, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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