Documentation ¶
Index ¶
- func NewServer(apiFactory api.Factory) notification.NotificationServiceServer
- type Server
- func (s *Server) ListServices(ctx context.Context, q *notification.ServicesListRequest) (*notification.ServiceList, error)
- func (s *Server) ListTemplates(ctx context.Context, q *notification.TemplatesListRequest) (*notification.TemplateList, error)
- func (s *Server) ListTriggers(ctx context.Context, q *notification.TriggersListRequest) (*notification.TriggerList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(apiFactory api.Factory) notification.NotificationServiceServer
NewServer returns a new instance of the Application service
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides an Application service
func (*Server) ListServices ¶
func (s *Server) ListServices(ctx context.Context, q *notification.ServicesListRequest) (*notification.ServiceList, error)
List returns list of notification services
func (*Server) ListTemplates ¶
func (s *Server) ListTemplates(ctx context.Context, q *notification.TemplatesListRequest) (*notification.TemplateList, error)
List returns list of notification templates
func (*Server) ListTriggers ¶
func (s *Server) ListTriggers(ctx context.Context, q *notification.TriggersListRequest) (*notification.TriggerList, error)
List returns list of notification triggers
Click to show internal directories.
Click to hide internal directories.