domain

package
v0.0.0-...-40fc3ee Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	ID           bson.ObjectId `json:"id" bson:"_id,omitempty"`
	PersonID     bson.ObjectId `json:"person_id" bson:"person_id,omitempty"`
	Details      string        `json:"details" bson:"details,omitempty"`
	Description  string        `json:"description" bson:"description,omitempty"`
	Type         string        `json:"type" bson:"type,omitempty"`
	Similarities []string      `json:"similarities" bson:"similarities,omitempty"`
	Date         time.Time     `json:"timestamp" bson:"timestamp,omitempty"`
}

Match ...

func NewMatch

func NewMatch(person, details, description, typ string, similarities []string) *Match

NewMatch creates a new Match!

type MatchedUser

type MatchedUser struct {
	ID           bson.ObjectId `json:"id" bson:"_id,omitempty"`
	Name         string        `json:"name" bson:"name,omitempty"`
	Username     string        `json:"username" bson:"username,omitempty"`
	Firstname    string        `json:"firstname" bson:"firstname,omitempty"`
	Lastname     string        `json:"lastname" bson:"lastname,omitempty"`
	Status       string        `json:"status" bson:"status,omitempty"`
	Type         string        `json:"account_type" bson:"account_type,omitempty"`
	EmailAddress string        `json:"emailaddress" bson:"email_address,omitempty"`
	Gender       string        `json:"gender" bson:"gender,omitempty"`
}

MatchedUser ...

Jump to

Keyboard shortcuts

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