foxcpp / foxcpp/go-jmap

JMAP Core server implementation

Offen
#4 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
server
Vorherrschende Sprache
Go
Sterne
43
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Things to consider

Below are things I believe would make library more useful.

- go-jmap should avoid enforcing certain storage design and definitely must not provide storage implementation itself. I think it is best to simply translate API requests into corresponding method calls on some interface called "Backend" (see [go-imap](https://github.com/emersion/go-imap) for a good example of how this could be done).

- go-jmap should avoid enforcing certain authentication design and definitely must not provide authentication implementation itself. As with previous point, authentication should be implemented by calling out into user-provided interface implementation.

- go-jmap should rely only on net/http for HTTP server. Use of more advanced frameworks will make it easier to violate the first point.

- JMAP Core, JMAP Mail, etc implementations should be kept independent of each other for extensibility purposes. JMAP is not only about email.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.