settings - work with settings 💾
Beta 0.1
Package for working with server_os
settings
import to progect:
import "github.com/nik19ta/go_server/api/settings"
Funcs:
🕳
use stract Settings
:
type Settings struct {
Version string `json:"version"`
Users []map[string]string
}
Settings
methods:
Swipe(button)
- Simulates clicking on the slider
Send() return []byte, bool
- returns a struct converted to Json
LogIn(username string, password string) return bool
- checks the user's password and returns true
if the password matches and false
if not