validator

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 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) RequireExecutorMembership added in v1.0.1

func (validator *StandaloneValidator) RequireExecutorMembership(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