proof

package
v0.0.0-...-556ca06 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(verifier dgx.QueryVerifier, errFormatter func(err error) interface{}) endpoint.Middleware

Types

type Proof

type Proof struct {
	Dogma dgx.Dogma
}

func (*Proof) QueryAllowed

func (p *Proof) QueryAllowed(ctx context.Context, queries []gql.GraphQuery, identity int, proofs map[int]gql.GraphQuery) (bool, error)

Jump to

Keyboard shortcuts

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