add go micro_service
add k8s
This commit is contained in:
15
providers/micro_service/config.go
Normal file
15
providers/micro_service/config.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user