package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jul 2, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Message struct {
ID int64 `json:"id"`
UserId int64 `json:"userid"`
UserName string `json:"username"`
Hash string `json:"hash"`
Message string `json:"message"`
Deleted bool `json:"deleted"`
DeletedAt time.Time `json:"deleted_at"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Message struct
type Response struct {
Success bool `json:"success"`
Data string `json:"data"`
}
Response struct
type URL struct {
Id int64 `json:"id"`
URL string `json:"url"`
Hash string `json:"hash"`
}
URL struct
type User struct {
Id int64 `json:"id"`
UserName string `json:"username"`
Name string `json:"name"`
Email string `json:"email"`
Hash string `json:"hash"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
User struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.