Documentation
¶
Index ¶
- Constants
- type Controller
- func (c *Controller) HandleAddActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleAddContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleAddDebt(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleAddJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleAuthorize(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCode(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleContacts(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCreateActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCreateContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCreateDebt(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCreateJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleCreateUserData(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleDeleteActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleDeleteContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleDeleteJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleDeleteUserData(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleEditActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleEditContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleEditDebt(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleEditJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleIndex(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleLogin(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleSettleDebt(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleUpdateActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleUpdateContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleUpdateDebt(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleUpdateJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleUserData(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleViewActivity(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleViewContact(w http.ResponseWriter, r *http.Request)
- func (c *Controller) HandleViewJournal(w http.ResponseWriter, r *http.Request)
- func (c *Controller) Init(ctx context.Context) error
Constants ¶
View Source
const ( EntityNameExportedJournalEntry = "journalEntry" EntityNameExportedContact = "contact" EntityNameExportedDebt = "debt" EntityNameExportedActivity = "activity" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( log *slog.Logger, persister *persisters.Persister, authner *authn.Authner, privacyURL, tosURL, imprintURL string, code []byte, ) *Controller
func (*Controller) HandleAddActivity ¶
func (c *Controller) HandleAddActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleAddContact ¶
func (c *Controller) HandleAddContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleAddDebt ¶
func (c *Controller) HandleAddDebt(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleAddJournal ¶
func (c *Controller) HandleAddJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleAuthorize ¶
func (c *Controller) HandleAuthorize(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCode ¶
func (c *Controller) HandleCode(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleContacts ¶
func (c *Controller) HandleContacts(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCreateActivity ¶
func (c *Controller) HandleCreateActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCreateContact ¶
func (c *Controller) HandleCreateContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCreateDebt ¶
func (c *Controller) HandleCreateDebt(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCreateJournal ¶
func (c *Controller) HandleCreateJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleCreateUserData ¶
func (c *Controller) HandleCreateUserData(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleDeleteActivity ¶
func (c *Controller) HandleDeleteActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleDeleteContact ¶
func (c *Controller) HandleDeleteContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleDeleteJournal ¶
func (c *Controller) HandleDeleteJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleDeleteUserData ¶
func (c *Controller) HandleDeleteUserData(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleEditActivity ¶
func (c *Controller) HandleEditActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleEditContact ¶
func (c *Controller) HandleEditContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleEditDebt ¶
func (c *Controller) HandleEditDebt(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleEditJournal ¶
func (c *Controller) HandleEditJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleIndex ¶
func (c *Controller) HandleIndex(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleJournal ¶
func (c *Controller) HandleJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleLogin ¶
func (c *Controller) HandleLogin(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleSettleDebt ¶
func (c *Controller) HandleSettleDebt(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleUpdateActivity ¶
func (c *Controller) HandleUpdateActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleUpdateContact ¶
func (c *Controller) HandleUpdateContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleUpdateDebt ¶
func (c *Controller) HandleUpdateDebt(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleUpdateJournal ¶
func (c *Controller) HandleUpdateJournal(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleUserData ¶
func (c *Controller) HandleUserData(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleViewActivity ¶
func (c *Controller) HandleViewActivity(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleViewContact ¶
func (c *Controller) HandleViewContact(w http.ResponseWriter, r *http.Request)
func (*Controller) HandleViewJournal ¶
func (c *Controller) HandleViewJournal(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.