config

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 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 Config

type Config struct {
	Started bool
	Shared  *Shared
	Client  *http.Client
}

func New

func New(mgr *manager.Manager) *Config

func (*Config) Apply added in v0.0.52

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

func (*Config) Delete

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

func (*Config) Event added in v0.0.137

func (config *Config) Event(event ievents.Event) error

func (*Config) GetShared added in v0.0.52

func (config *Config) GetShared() interface{}

func (*Config) Start added in v0.0.52

func (config *Config) Start() error

func (*Config) State added in v0.1.31

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

type Shared added in v0.0.52

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