redis

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildlogsRedisStruct

type BuildlogsRedisStruct struct {
	Password string `default:"" validate:"" json:"password,omitempty" yaml:"password,omitempty"`
	Port     int    `default:"" validate:"" json:"port,omitempty" yaml:"port,omitempty"`
	Host     string `default:"" validate:"" json:"host,omitempty" yaml:"host,omitempty"`
	Ssl      bool   `default:"false" validate:"" json:"ssl,omitempty" yaml:"ssl,omitempty"`
}

BuildlogsRedisStruct represents the BuildlogsRedisStruct config fields

func NewBuildlogsRedisStruct

func NewBuildlogsRedisStruct(fullConfig map[string]interface{}) (*BuildlogsRedisStruct, error)

NewBuildlogsRedisStruct creates a new BuildlogsRedisStruct

type RedisFieldGroup

type RedisFieldGroup struct {
	BuildlogsRedis  *BuildlogsRedisStruct  `default:"" validate:"" json:"BUILDLOGS_REDIS,omitempty" yaml:"BUILDLOGS_REDIS,omitempty"`
	UserEventsRedis *UserEventsRedisStruct `default:"" validate:"" json:"USER_EVENTS_REDIS,omitempty" yaml:"USER_EVENTS_REDIS,omitempty"`
}

RedisFieldGroup represents the RedisFieldGroup config fields

func NewRedisFieldGroup

func NewRedisFieldGroup(fullConfig map[string]interface{}) (*RedisFieldGroup, error)

NewRedisFieldGroup creates a new RedisFieldGroup

func (*RedisFieldGroup) Fields

func (fg *RedisFieldGroup) Fields() []string

Fields returns a list of strings representing the fields in this field group

func (*RedisFieldGroup) Validate

func (fg *RedisFieldGroup) Validate(opts shared.Options) []shared.ValidationError

Validate checks the configuration settings for this field group

type UserEventsRedisStruct

type UserEventsRedisStruct struct {
	Password string `default:"" validate:"" json:"password,omitempty" yaml:"password,omitempty"`
	Port     int    `default:"" validate:"" json:"port,omitempty" yaml:"port,omitempty"`
	Host     string `default:"" validate:"" json:"host,omitempty" yaml:"host,omitempty"`
	Ssl      bool   `default:"false" validate:"" json:"ssl,omitempty" yaml:"ssl,omitempty"`
}

UserEventsRedisStruct represents the UserEventsRedisStruct config fields

func NewUserEventsRedisStruct

func NewUserEventsRedisStruct(fullConfig map[string]interface{}) (*UserEventsRedisStruct, error)

NewUserEventsRedisStruct creates a new UserEventsRedisStruct

Jump to

Keyboard shortcuts

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