package
0.23.2
Repository: https://github.com/mainfluxlabs/mainflux.git
Documentation: pkg.go.dev

# Functions

Connect creates a connection to the PostgreSQL instance and applies any unapplied database migrations.
NewChannelRepository instantiates a PostgreSQL implementation of channel repository.
NewDatabase creates a ThingDatabase instance.
NewGroupRepository instantiates a PostgreSQL implementation of group repository.
NewRolesRepository instantiates a PostgreSQL implementation of policies repository.
NewThingRepository instantiates a PostgreSQL implementation of thing repository.

# Structs

Config defines the options that are used when connecting to a PostgreSQL instance.

# Interfaces

Database provides a database interface.