types

package
v0.0.0-...-174759b Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	Username string `json:"username" xml:"secrets>username"`
	Password string `json:"password" xml:"secrets>password"`
	Email    string `json:"email" xml:"email"`
}

func (*User) EncodeAsString

func (u *User) EncodeAsString() []string

func (*User) FromCSV

func (u *User) FromCSV(ss []string)

type UsersDb

type UsersDb struct {
	Id      int      `json:"id" xml:"id,attr"`
	XMLName xml.Name `json:"-" xml:"users"`
	Type    string   `json:"type" xml:"type"`
	Users   []User   `json:"users" xml:"user"`
}

Jump to

Keyboard shortcuts

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