Skip to content

Package notificationsapp is a web frontend for a notifications service.

License

Notifications You must be signed in to change notification settings

shurcooL/notificationsapp

Repository files navigation

notificationsapp

Go Reference

Package notificationsapp is a web frontend for a notifications service.

Note, the canonical issue tracker for this package is currently hosted at https://dmitri.shuralyov.com/issues/github.com/shurcooL/notificationsapp. Its notifications are implemented using this very package.

Installation

go get github.com/shurcooL/notificationsapp

Development

This package relies on go generate directives to process and statically embed assets. For development only, you may need extra dependencies. You can build and run the package in development mode, where all assets are always read and processed from disk:

go build -tags=notificationsappdev something/that/uses/notificationsapp

When you're done with development, you should run go generate and commit that:

go generate github.com/shurcooL/notificationsapp/...

Directories

Path Synopsis
assets Package assets contains assets for notificationsapp.
component Package component contains individual components that can render themselves as HTML.
frontend frontend script for notificationsapp.
httpclient Package httpclient contains notifications.Service implementation over HTTP.
httphandler Package httphandler contains an API handler for notifications.Service.
httproute Package httproute contains route paths for httpclient, httphandler.

License

Releases

No releases published

Packages