hdmodel

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityMqDto

type ActivityMqDto struct {
	ActivityId string
	TenantId   string
}

type Hertz

type Hertz struct {
	Service         string `yaml:"service"`
	Address         string `yaml:"address"`
	EnableSwagger   bool   `yaml:"enable_swagger"`
	EnablePprof     bool   `yaml:"enable_pprof"`
	EnableGzip      bool   `yaml:"enable_gzip"`
	EnableAccessLog bool   `yaml:"enable_access_log"`
	LogLevel        string `yaml:"log_level"`
	LogFileName     string `yaml:"log_file_name"`
	LogMaxSize      int    `yaml:"log_max_size"`
	LogMaxBackups   int    `yaml:"log_max_backups"`
	LogMaxAge       int    `yaml:"log_max_age"`
}

type Kitex

type Kitex struct {
	Service         string `yaml:"service"`
	Address         string `yaml:"address"`
	MetricsPort     string `yaml:"metrics_port"`
	EnablePprof     bool   `yaml:"enable_pprof"`
	EnableGzip      bool   `yaml:"enable_gzip"`
	EnableAccessLog bool   `yaml:"enable_access_log"`
	LogLevel        string `yaml:"log_level"`
	LogFileName     string `yaml:"log_file_name"`
	LogMaxSize      int    `yaml:"log_max_size"`
	LogMaxBackups   int    `yaml:"log_max_backups"`
	LogMaxAge       int    `yaml:"log_max_age"`
}

type Monitor

type Monitor struct {
	OTel       OTel       `yaml:"otel"`
	Prometheus Prometheus `yaml:"prometheus"`
	Registry   Registry   `yaml:"registry"`
}

type MySQL

type MySQL struct {
	DSN string `yaml:"dsn"`
}

type OTel

type OTel struct {
	Enable   bool   `yaml:"enable"`
	Endpoint string `yaml:"endpoint"`
}

type PasetoConfig

type PasetoConfig struct {
	PubKey   string `mapstructure:"pub_key" json:"pub_key" yaml:"pub_key"`
	Implicit string `mapstructure:"implicit" json:"implicit" yaml:"implicit"`
}

type PasetoSecretConfig

type PasetoSecretConfig struct {
	SecretKey string `mapstructure:"secret_key" json:"secret_key" yaml:"secret_key"`
	Implicit  string `mapstructure:"implicit" json:"implicit" yaml:"implicit"`
}

type Prometheus

type Prometheus struct {
	Enable      bool `yaml:"enable"`
	MetricsPort int  `yaml:"metrics_port"`
}

type Redis

type Redis struct {
	Address  string `yaml:"address"`
	Username string `yaml:"username"`
	Password string `yaml:"password"`
	DB       int    `yaml:"db"`
}

type Registry

type Registry struct {
	RegistryAddress string `yaml:"registry_address"`
	Username        string `yaml:"username"`
	Password        string `yaml:"password"`
	NamespaceId     string `yaml:"namespace_id"`
	Group           string `yaml:"group"`
	DataId          string `yaml:"data_id"`
}

type UserImageMqDto

type UserImageMqDto struct {
	UserID   int64
	TenantId string
}

type UserImageResultMqDto

type UserImageResultMqDto struct {
	UserID    int64  `json:"user_id"`
	AvatarUrl string `json:"avatar_url"`
	Success   bool   `json:"success"`
	Error     string `json:"error,omitempty"`
	TenantId  string
}

Jump to

Keyboard shortcuts

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