Documentation
¶
Index ¶
- type CronTask
- type Event
- type GrpcHandler
- type HttpHandler
- type Server
- func (s *Server) AddDiscovery(discovery discovery.Discovery)
- func (s *Server) Cron(tasks []CronTask)
- func (s *Server) Grpc(cfg *config.Grpc, opts []grpc.ServerOption, handlers ...GrpcHandler)
- func (s *Server) Http(cfg *config.Http, cfgRpc *config.Grpc, handlers ...HttpHandler)
- func (s *Server) Run(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcHandler ¶
type HttpHandler ¶
Click to show internal directories.
Click to hide internal directories.