gcs

package module
v0.0.0-...-0b15fe8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2019 License: MIT Imports: 0 Imported by: 0

README

go-config-server

go-config-server pulls configuration for remote clients from various sources

Refes

Run

go run cmd/main.go -config ./configs/application-file.yml

Templates

# git - application.yml

server:
 port: 8001

security:
 apikey:
  enabled: false
  keylookup: "query:apikey"
  token: 9a0697eb595309177

encrypt:
 key: s3Cr3tk3y00

logging:
 level:
  root: INFO

spring:
 profiles:
  active: native, git, vault
 cloud:
  config:
   server:
    native:
     searchLocations: ./configs
    git:
     uri: https://github.com/helderfarias/go-config-server-examples
     clone_dir: ./tmp
     force_pull: true
    vault:
     uri: http://localhost:8200
 nats:
  servers: nats://localhost:4222
  subject: springCloudBus
  auth:
   type: token
   token: S3cretT0ken

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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