configs

package
v0.0.0-...-01cb083 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	PaginateLimit int
}

func (*Application) Setup

func (a *Application) Setup()

type Config

type Config struct {
	Server      Server
	Database    Database
	Application Application
}

func (*Config) Load

func (c *Config) Load()

type Database

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

func (*Database) Connection

func (d *Database) Connection() *gorm.DB

func (*Database) Setup

func (d *Database) Setup()

type Server

type Server struct {
	Port      string
	Host      string
	Ssl       string
	JWTSecret []byte
}

func (*Server) GetFullPath

func (s *Server) GetFullPath() string

func (*Server) Setup

func (s *Server) Setup()

Jump to

Keyboard shortcuts

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