system

package
v0.0.0-...-a2a535d Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	scylla.Scylla
	Users
}

func NewSystemKeyspace

func NewSystemKeyspace(contactPoint string, port int) (*System, error)

func (*System) CreateTables

func (s *System) CreateTables() error

func (*System) CreateUser

func (s *System) CreateUser(number, pin string) error

func (*System) CreateUserTable

func (s *System) CreateUserTable() error

func (*System) DeleteUser

func (s *System) DeleteUser(number string) error

func (*System) GetUser

func (s *System) GetUser(number string) (*users.User, error)

func (*System) GetUsers

func (s *System) GetUsers() error

func (*System) UpdateUser

func (s *System) UpdateUser(number, pin string) error

type Users

type Users struct {
	*table.Table
	*users.Users
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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