validator

package
v1.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OwnershipMock

type OwnershipMock struct {
	// contains filtered or unexported fields
}

type StandaloneValidator

type StandaloneValidator struct {
	// contains filtered or unexported fields
}

func CreateValidator

func CreateValidator(db database.Database) *StandaloneValidator

func (*StandaloneValidator) RequireColonyOwner

func (validator *StandaloneValidator) RequireColonyOwner(recoveredID string, colonyID string) error

func (*StandaloneValidator) RequireRuntimeMembership

func (validator *StandaloneValidator) RequireRuntimeMembership(recoveredID string, colonyID string, approved bool) error

func (*StandaloneValidator) RequireServerOwner

func (validator *StandaloneValidator) RequireServerOwner(recoveredID string, serverID string) error

Jump to

Keyboard shortcuts

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