add go micro_service

add k8s
This commit is contained in:
yanghao05
2023-05-15 19:58:05 +08:00
parent 0fc585e077
commit 35e8fd6ac5
6 changed files with 320 additions and 10 deletions

View File

@@ -0,0 +1,15 @@
package micro_service
const DefaultPrefix = "Micro"
type Config struct {
Name string
Version string
Port uint
Tls *Tls
}
type Tls struct {
Cert string
Key string
}