Documentation ¶
Index ¶
Constants ¶
View Source
const ( T_SQLITE dbTYPE = iota T_POSTGRESQL )
Variables ¶
This section is empty.
Functions ¶
func ReplaceColon ¶ added in v0.2.3
Types ¶
type Config ¶ added in v0.2.3
type Config struct { Tag string `json:"tag,omitempty" yaml:"tag,omitempty"` Mode string `json:"mode,omitempty" yaml:"mode,omitempty"` Num int `json:"num,omitempty" yaml:"num,omitempty"` Steps int `json:"steps,omitempty" yaml:"steps,omitempty"` Seed uint32 `json:"seed,omitempty" yaml:"seed,omitempty"` CfgScale int `json:"scale,omitempty" yaml:"scale,omitempty"` Width int `json:"width" yaml:"width"` Height int `json:"height" yaml:"height"` Model string `json:"model,omitempty" yaml:"model,omitempty"` Uc string `json:"uc,omitempty" yaml:"uc,omitempty"` PrePhotoID string `json:"pre_photo_id,omitempty" yaml:"pre_photo_id,omitempty"` Strength float64 `json:"strength,omitempty" yaml:"strength,omitempty"` ControlPhotoID string `json:"control_photo_id,omitempty" yaml:"control_photo_id,omitempty"` ControlPreprocess string `json:"control_preprocess,omitempty" yaml:"control_preprocess,omitempty"` ControlProcess string `json:"control_process,omitempty" yaml:"control_process,omitempty"` }
func (*Config) Fomate2TgHTML ¶ added in v0.2.3
func (*Config) Fomate2TgMdV2 ¶ added in v0.2.3
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetMaxCount ¶ added in v0.2.3
func (d *DB) GetMaxCount(cfg MaxCountCfg) int64
type FindConfig ¶
type MaxCountCfg ¶
type UserDefaultCfg ¶
Click to show internal directories.
Click to hide internal directories.