implement template improvements
This commit is contained in:
7
main.go
7
main.go
@ -31,12 +31,15 @@ import (
|
|||||||
const terminationGracePeriod = 30 * time.Second
|
const terminationGracePeriod = 30 * time.Second
|
||||||
|
|
||||||
var (
|
var (
|
||||||
flagSchema bool
|
|
||||||
|
|
||||||
// TODO: Register your service.AppService implementers here
|
// TODO: Register your service.AppService implementers here
|
||||||
|
// This should be the only change necessary here
|
||||||
|
// NOTE: At least one service needs to add a dial option
|
||||||
|
// for transport credentials, otherwise you will have to do it here
|
||||||
appServices = []service.AppService{
|
appServices = []service.AppService{
|
||||||
&demo.DemoService{},
|
&demo.DemoService{},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flagSchema bool
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
Reference in New Issue
Block a user