settings

package
v0.0.0-...-2921379 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service allow safely retrieving and setting of server settings

func New

func New(q *db.Queries) (*Service, error)

New initialises a new settings service

func (*Service) Get

func (s *Service) Get() Settings

Get safely returns the servers settings

type Settings

type Settings struct {
}

Jump to

Keyboard shortcuts

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