admission

package
Version: v0.0.0-...-3b47b55 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config, db *gorm.DB) model.AdmissionService

Types

type Config

type Config struct {
	CasbinModel string
	TablePrefix string
	LogMode     bool
}

func NewConfig

func NewConfig(casbinModel, tablePrefix string, logMode bool) Config

New db connect to a database

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL