package
0.10.3
Repository: https://github.com/pushbits/server.git
Documentation: pkg.go.dev

# Functions

AddApplicationsToDb inserts the applications apps into the database db.
AddUsersToDb adds the users to the database and sets their username as a password, returns list of added users.
GetAdminUser returns an admin user.
GetAllApplications returns all mock-applications as a list.
GetApplication1 returns an application with id 1.
GetApplication2 returns an application with id 2.
GetEmptyDatabase returns an empty sqlite database object.
GetUser returns an user.
GetUsers returns a list of users.
ReadConfig copies the given filename to the current folder and parses it as a config file.

# Structs

MockDispatcher is a dispatcher used for testing - it does not need any storage interface.