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:
|
||||
image: cognio/link
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- 8080:8080
|
||||
environment:
|
||||
- JWT_METHOD=HS256
|
||||
- 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 {
|
||||
Id int64
|
||||
Id string
|
||||
Name string
|
||||
RedirectURL url.URL
|
||||
Password string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue