gateway

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionDiscoverNodes = "discover_nodes"
)

Gateway actions

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ID                 string               `json:"id" yaml:"id"`
	Description        string               `json:"description" yaml:"description"`
	Enabled            bool                 `json:"enabled" yaml:"enabled"`
	ReconnectDelay     string               `json:"reconnectDelay" yaml:"reconnectDelay"`
	QueueFailedMessage bool                 `json:"queueFailedMessage" yaml:"queueFailedMessage"`
	Provider           cmap.CustomMap       `json:"provider" yaml:"provider"`
	MessageLogger      cmap.CustomMap       `json:"messageLogger" yaml:"messageLogger"`
	Labels             cmap.CustomStringMap `json:"labels" yaml:"labels"`
	Others             cmap.CustomMap       `json:"others" yaml:"others"`
	State              *types.State         `json:"state" yaml:"state"`
	ModifiedOn         time.Time            `json:"modifiedOn" yaml:"modifiedOn"`
	LastTransaction    time.Time            `json:"lastTransaction" yaml:"lastTransaction"`
}

Config struct

func (*Config) GetReconnectDelay

func (c *Config) GetReconnectDelay() *time.Duration

GetReconnectDelay for this config

Jump to

Keyboard shortcuts

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