github.com/abolfazlbeh/zhycan@v0.0.0-20230819144214-24cf38237387/internal/engine/interfaces.go (about) 1 package engine 2 3 import "github.com/abolfazlbeh/zhycan/pkg/http" 4 5 type RestfulApp interface { 6 Routes() []http.HttpRoute 7 GetName() string 8 } 9 10 type GrpcApp interface { 11 GetName() string 12 GetServerNames() []string 13 }