validator

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 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, colonyName string) error

func (*StandaloneValidator) RequireMembership added in v1.6.0

func (validator *StandaloneValidator) RequireMembership(recoveredID string, colonyName 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