You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {{.head}}
-
- package server
-
- import (
- {{if .notStream}}"context"{{end}}
-
- {{.imports}}
- )
-
- type {{.server}}Server struct {
- svcCtx *svc.ServiceContext
- {{.unimplementedServer}}
- }
-
- func New{{.server}}Server(svcCtx *svc.ServiceContext) *{{.server}}Server {
- return &{{.server}}Server{
- svcCtx: svcCtx,
- }
- }
-
- {{.funcs}}
|