access

package
v1.0.0-13 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConfig

type AccessConfig struct {
	// Secret key used for signing.
	NoTokenMethods string
	PublicMethods  string
	WriteMethods   string
}

Access contains the configuration that governs service access

func New

func New(NoTokenMethods string, PublicMethods string, ReadWriteMethods string) *AccessConfig

New instantiates new Access config service

Jump to

Keyboard shortcuts

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