custom

package
v0.1.34 Latest Latest
Warning

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

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

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom struct {
	Started bool
	Shared  *Shared
}

func New

func New(mgr *manager.Manager) *Custom

func (*Custom) Apply

func (custom *Custom) Apply(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

func (*Custom) Delete

func (custom *Custom) Delete(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

func (*Custom) Event

func (custom *Custom) Event(event ievents.Event) error

func (*Custom) GetShared

func (custom *Custom) GetShared() interface{}

func (*Custom) Start

func (custom *Custom) Start() error

func (*Custom) State added in v0.1.31

func (custom *Custom) State(user *authentication.User, definition []byte, agent string) (iresponse.Response, error)

type Shared

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

func (*Shared) GetManager added in v0.1.30

func (shared *Shared) GetManager() *manager.Manager

Jump to

Keyboard shortcuts

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