socket

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Protocol string `json:"protocol" yaml:"protocol" ini:"protocol"`
	Addr     string `json:"addr" yaml:"addr" ini:"addr"`
	Timeout  int    `json:"timeout" yaml:"timeout" ini:"timeout"` // 超时配置
}

func (Config) GormDBDataType

func (Config) GormDBDataType(db *gorm.DB, field *schema.Field) string

func (Config) GormDataType

func (this Config) GormDataType() string

func (*Config) Scan

func (this *Config) Scan(val interface{}) error

func (*Config) Valid

func (this *Config) Valid() error

func (Config) Value

func (this Config) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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