Feat: add session
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package types
|
||||
|
||||
type (
|
||||
AccessToken string
|
||||
RefreshToken string
|
||||
)
|
||||
@@ -0,0 +1,10 @@
|
||||
package types
|
||||
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
ContextNotExistError = fmt.Errorf("context not exist")
|
||||
|
||||
WrongFormatError = fmt.Errorf("wrong format")
|
||||
HTTPRequestFailedError = fmt.Errorf("http request failed")
|
||||
)
|
||||
Reference in New Issue
Block a user