resthandler

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyConfigurator

type PolicyConfigurator struct {
	VerifyActorInSignature bool
	// contains filtered or unexported fields
}

PolicyConfigurator updates witness policy in config store.

func New

func New(cfgStore storage.Store) *PolicyConfigurator

New returns a new PolicyConfigurator.

func (*PolicyConfigurator) Handler

Handler returns the HTTP REST handle for the PolicyConfigurator service.

func (*PolicyConfigurator) Method

func (pc *PolicyConfigurator) Method() string

Method returns the HTTP REST method for the configure policy service.

func (*PolicyConfigurator) Path

func (pc *PolicyConfigurator) Path() string

Path returns the HTTP REST endpoint for the PolicyConfigurator service.

Jump to

Keyboard shortcuts

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