Documentation ¶
Index ¶
- type FlySettings
- func (s *FlySettings) Get(key string) jsoniter.Any
- func (s *FlySettings) GetBool(key string, defaults bool) bool
- func (s *FlySettings) GetByte(key string) ([]byte, error)
- func (s *FlySettings) GetFloat64(key string, defaults float64) float64
- func (s *FlySettings) GetInt(key string, defaults int) int
- func (s *FlySettings) GetInt64(key string, defaults int64) int64
- func (s *FlySettings) GetObj(key string, obj any) error
- func (s *FlySettings) GetString(key string, defaults string) string
- func (s *FlySettings) Open(FlyDB FlyDatabase.FlyDatabaseInterface) error
- func (s *FlySettings) Set(key string, value any) error
- func (s *FlySettings) SetByte(key string, value []byte)
- type FlySettingsTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlySettings ¶
type FlySettings struct { FlyDB FlyDatabase.FlyDatabaseInterface Ready bool API jsoniter.API }
func NewFlySettings ¶
func NewFlySettings() *FlySettings
func (*FlySettings) GetFloat64 ¶
func (s *FlySettings) GetFloat64(key string, defaults float64) float64
func (*FlySettings) Open ¶
func (s *FlySettings) Open(FlyDB FlyDatabase.FlyDatabaseInterface) error
获取串口配置名称
func (*FlySettings) SetByte ¶
func (s *FlySettings) SetByte(key string, value []byte)
Click to show internal directories.
Click to hide internal directories.