invite

package module
v0.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

README

Process Invitations in the BZ database

On Docker Hub for local development

Build Status

Different environments

This is codified over at: https://github.com/unee-t/env

dev environment

demo environment

prod environment

Test plan

/health_check for a sanity check with the database connection

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context) (h handler, err error)

New setups the configuration assuming various parameters have been setup in the AWS account

Types

type Invite added in v0.2.2

type Invite struct {
	ID         string `json:"_id"` // mefe_invitation_id (must be unique)
	InvitedBy  int    `json:"invitedBy"`
	Invitee    int    `json:"invitee"`
	Role       string `json:"role"`
	IsOccupant bool   `json:"isOccupant"`
	CaseID     int    `json:"caseId"`
	UnitID     int    `json:"unitId"`
	Type       string `json:"type"` // invitation type
}

Invite loosely models ut_invitation_api_data. JSON binding come from MEFE API /api/pending-invitations

Directories

Path Synopsis
functions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL