Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllInvitationParam ¶
AllInvitationParam model
type Event ¶
type Event struct { ID bson.ObjectId `json:"id" bson:"_id"` Code string `json:"code" bson:"code"` Date string `bson:"date" json:"date"` CountDown int `bson:"-" json:"countDown"` Ceremony string `bson:"ceremony" json:"ceremony"` Reception string `bson:"reception" json:"reception"` Address string `bson:"address" json:"address"` }
Event model
func (*Event) MakeObject ¶
type Invitation ¶
type Invitation struct { ID bson.ObjectId `json:"id" bson:"_id"` Name string `json:"name" bson:"name"` WaNumber string `json:"waNumber" bson:"wa_number"` Message string `json:"message" bson:"message"` Relation string `json:"relation" bson:"relation"` IsAttend bool `json:"isAttend" bson:"is_attend"` CreatedAt time.Time `json:"created" bson:"created"` }
Invitation model
func (*Invitation) MakeObject ¶
func (i *Invitation) MakeObject() *graphql.Object
type User ¶
type User struct { ID bson.ObjectId `bson:"_id" db:"id" json:"id,omitempty"` Name string `bson:"name,omitempty" db:"name" json:"name,omitempty"` Username string `bson:"username,omitempty" db:"username" json:"username,omitempty"` Password string `bson:"password,omitempty" db:"password" json:"password,omitempty"` Role *Role `bson:"role" json:"role,omitempty"` }
type Visitor ¶
type Visitor struct { ID bson.ObjectId `json:"id" bson:"_id"` IPAddress string `json:"ip_address,omitempty" bson:"ip_address"` Query string `json:"query,omitempty" bson:"query"` Datetime time.Time `json:"datetime,omitempty" bson:"datetime"` }
Visitor model
func (*Visitor) MakeObject ¶
Click to show internal directories.
Click to hide internal directories.