Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Desc ¶
type Desc struct { grpc.ServiceDesc Handler interface{} }
type Service ¶
type Service interface { Start() error Stop() error Options() Options Command() *cli.Command AfterStops(...func()) BeforeStops(...func()) AfterStarts(...func()) BeforeStarts(...func()) Provide(constructors ...interface{}) Invoke(funcs ...interface{}) Flags(flags ...cli.Flag) Middleware(middleware.Middleware) RegService(desc Desc) RegApp(prefix string, r *fiber.App) RegRouter(prefix string, fn func(r fiber.Router)) RegGateway(fn func(ctx context.Context, mux *runtime.ServeMux, cc grpc.ClientConnInterface) error) }
Click to show internal directories.
Click to hide internal directories.