restrict

package
v0.0.0-...-4eef36e Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Code generated with models.yml DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(ctx context.Context, getter flow.Getter, uid int) (context.Context, flow.Getter)

Middleware can be used as a flow.Getter that restrict the data for a user.

It also initializes a ctx that has to be used in the future getter calls.

Types

This section is empty.

Directories

Path Synopsis
This tool generates the list of related fields in the file def.go.
This tool generates the list of related fields in the file def.go.
Code generated from models.yml DO NOT EDIT.
Code generated from models.yml DO NOT EDIT.

Jump to

Keyboard shortcuts

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