Compare commits

..

1 commit
dev ... master

Author SHA1 Message Date
Andrey Chervyakov
d119d9ba1a Add alias entity 2021-09-24 19:59:31 +06:00
3 changed files with 13 additions and 2 deletions

View file

@ -4,7 +4,7 @@ services:
link:
image: cognio/link
ports:
- 8080:8080
- "8080:8080"
environment:
- JWT_METHOD=HS256
- JWT_KEY=QvSqOTKhsCjeV1iU9ABYTQMJwhvXWPnz

View file

@ -0,0 +1,11 @@
package alias
import "time"
type Alias struct {
Id string
LinkId int64
CreationTime time.Time
}
type Aliases = []*Alias

View file

@ -6,7 +6,7 @@ import (
)
type Link struct {
Id string
Id int64
Name string
RedirectURL url.URL
Password string