servermgmt

package
v0.0.0-...-767d6e2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser()

func ConfigUser

func ConfigUser()

func DelUser

func DelUser()

func IsPortOpen

func IsPortOpen(port int) bool

func UserData

func UserData()

Types

type CredArr

type CredArr []MyStruct

func GetCred

func GetCred() (*CredArr, error)

func (*CredArr) FromJSON

func (p *CredArr) FromJSON(r io.Reader) error

type MyStruct

type MyStruct struct {
	UserName string `json:"username"`
	PassWord string `json:"password"`
}

Jump to

Keyboard shortcuts

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