config

package
v0.0.137 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: GPL-3.0 Imports: 13 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, jsonData []byte, agent string) (contracts.Response, error)

func (*Config) Compare added in v0.0.52

func (config *Config) Compare(user *authentication.User, jsonData []byte) (contracts.Response, error)

func (*Config) Delete

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

func (*Config) Event added in v0.0.137

func (config *Config) Event(event contracts.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

type Shared added in v0.0.52

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