Compare commits
No commits in common. "master" and "dev" have entirely different histories.
3 changed files with 2 additions and 13 deletions
|
|
@ -4,7 +4,7 @@ services:
|
||||||
link:
|
link:
|
||||||
image: cognio/link
|
image: cognio/link
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- 8080:8080
|
||||||
environment:
|
environment:
|
||||||
- JWT_METHOD=HS256
|
- JWT_METHOD=HS256
|
||||||
- JWT_KEY=QvSqOTKhsCjeV1iU9ABYTQMJwhvXWPnz
|
- JWT_KEY=QvSqOTKhsCjeV1iU9ABYTQMJwhvXWPnz
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
package alias
|
|
||||||
|
|
||||||
import "time"
|
|
||||||
|
|
||||||
type Alias struct {
|
|
||||||
Id string
|
|
||||||
LinkId int64
|
|
||||||
CreationTime time.Time
|
|
||||||
}
|
|
||||||
|
|
||||||
type Aliases = []*Alias
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type Link struct {
|
type Link struct {
|
||||||
Id int64
|
Id string
|
||||||
Name string
|
Name string
|
||||||
RedirectURL url.URL
|
RedirectURL url.URL
|
||||||
Password string
|
Password string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue