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, opts []runtime.ServeMuxOption, ...)
- 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 ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddDiscovery ¶
func (*Server) Grpc ¶
func (s *Server) Grpc(cfg *config.Grpc, opts []grpc.ServerOption, handlers ...GrpcHandler)
func (*Server) Http ¶
func (s *Server) Http(cfg *config.Http, cfgRpc *config.Grpc, opts []runtime.ServeMuxOption, handlers ...HttpHandler)
Click to show internal directories.
Click to hide internal directories.