secret

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Secret

type Secret struct {
	Started bool
	Shared  *Shared
}

func New

func New(mgr *manager.Manager) *Secret

func (*Secret) Apply

func (secret *Secret) Apply(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Secret) Compare

func (secret *Secret) Compare(user *authentication.User, definition []byte) (contracts.Response, error)

func (*Secret) Delete

func (secret *Secret) Delete(user *authentication.User, definition []byte, agent string) (contracts.Response, error)

func (*Secret) Event

func (secret *Secret) Event(event contracts.Event) error

func (*Secret) GetShared

func (secret *Secret) GetShared() interface{}

func (*Secret) Start

func (secret *Secret) Start() error

type Shared

type Shared struct {
	Manager *manager.Manager
	Client  *client.Http
}

Jump to

Keyboard shortcuts

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