permission

package
v0.0.0-...-193f563 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Update(p *domain.Permission) (*domain.Permission, error)
	FindByUser(p *domain.User) ([]domain.Permission, error)
	FindByGroup(p *domain.Group) ([]domain.Permission, error)
}

Service interface for project service

func NewPGService

func NewPGService(db *gorm.DB) Service

NewPGService .

Jump to

Keyboard shortcuts

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