Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶ added in v1.1.0
type Credentials struct { Username string `json:"username,omitempty" gorm:"type:varchar(256);"` Password string `json:"password,omitempty" gorm:"type:varchar(512);"` }
Credentials represents service credentials
type Event ¶
type Event struct { EventID uuid.UUID `json:"event_id,omitempty" gorm:"primary_key;default:uuid_generate_v4();not null;"` Name string `json:"name,omitempty" gorm:"type:varchar(1024);"` Kvp datatypes.JSON `json:"kvp" gorm:"default:'{}'"` CreatedDateTime time.Time `json:"created_date_time,omitempty" gorm:"default:timezone('utc'::text, now())"` UpdatedDateTime time.Time `json:"updated_date_time,omitempty" gorm:"default:timezone('utc'::text, now())"` }
Event represents an event for cron jobs
type User ¶
type User struct { UserID uuid.UUID `json:"user_id,omitempty" gorm:"primary_key;default:uuid_generate_v4();not null;"` Username string `json:"username,omitempty" gorm:"type:varchar(256);"` Password string `json:"password,omitempty" gorm:"type:varchar(512);"` Kvp datatypes.JSON `json:"kvp" gorm:"default:'{}'"` CreatedDateTime time.Time `json:"created_date_time,omitempty" gorm:"default:timezone('utc'::text, now())"` UpdatedDateTime time.Time `json:"updated_date_time,omitempty" gorm:"default:timezone('utc'::text, now())"` }
User represents a user in the service including username and password
Click to show internal directories.
Click to hide internal directories.