locations

package module
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

README

bottin/locations

Prototype d'application de gestion de locations au Centre Multi-Service de l'AGECEM.

Démarrage rapide

Pour tester le stack applicatif complet localement, les dépendances suivantes sont requises:

  • make
  • docker
  • docker-compose

Le déploiement de développement typique nécessite la création d'un fichier .env (non-accessible publiquement) avec le contenu suivant:

# .env
BOTTINLOCATIONS_SERVER_API_POSTGRES_DATABASE=bottinlocations
BOTTINLOCATIONS_SERVER_API_POSTGRES_PASSWORD=bottinlocations
BOTTINLOCATIONS_SERVER_API_POSTGRES_USER=bottinlocations
BOTTIN_SERVER_API_POSTGRES_DATABASE=bottin
BOTTIN_SERVER_API_POSTGRES_PASSWORD=bottin
BOTTIN_SERVER_API_POSTGRES_USER=bottin

note: les valeur doivent impérativement être changées en production.

Pour build et démarrer les containers par docker-compose:

make deploy

Pour voir les autres options:

make help

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultServer

func DefaultServer(ctx context.Context) (*http.Server, error)

Types

type HTTPAPIClient added in v0.6.0

type HTTPAPIClient struct {
	Caller *voki.Voki
}

func NewHTTPAPIClient added in v0.6.0

func NewHTTPAPIClient(client *http.Client, host string, key string, port int, protocol string) *HTTPAPIClient

func (HTTPAPIClient) ReadHelloWorld added in v0.6.0

func (c HTTPAPIClient) ReadHelloWorld() (code int, body []byte, err error)

Directories

Path Synopsis
cmd
locations command

Jump to

Keyboard shortcuts

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