dashboard

command module
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

README

Dashboard License GoDoc Unit Tests Docker Go Report Card Vistors

Features

  • Logo
  • Web UI
  • Service discovery
    • Register service
    • Deregister service
  • Health check
  • Configuration service
  • Synchronous communication
    • RPC
    • Stream
  • Asynchronous communication
    • Publish
    • Subscribe

Installation

go install github.com/go-micro/dashboard@latest

Development

Server
Swagger
swagger generate spec -o docs/swagger.json -b ./docs
swag init
Config
default username: admin
default password: micro
ENV
export SERVER_ADDRESS=:8082
export SERVER_AUTH_USERNAME=user
export SERVER_AUTH_PASSWORD=pass
YAML
export CONFIG_TYPE=yaml
server:
  env: "dev"
  address: ":8082"
  swagger:
    host: "localhost:8082"
TOML
export CONFIG_TYPE=toml
[server]
env = "dev"
address = ":8082"
[server.swagger]
host = "localhost:8082"
Web UI

Document

Generate Web Files
go install github.com/UnnoTed/fileb0x@latest
fileb0x b0x.yaml

Docker

docker run -d --name micro-dashboard -p 8082:8082 xpunch/go-micro-dashboard:latest

Docker Compose

docker-compose -f docker-compose.yml up -d

Kubernetes

kubectl apply -f deployment.yaml

Community

Screen Shots

Login Dashboard Services Service Detail Nodes Request

License

Apache License 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag

Jump to

Keyboard shortcuts

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