forked from goffee/core
initial commits 2
This commit is contained in:
parent
5475b7dd26
commit
7f38826b9c
39 changed files with 4525 additions and 0 deletions
17
consts.go
Normal file
17
consts.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package core
|
||||
|
||||
const GET string = "get"
|
||||
const POST string = "post"
|
||||
const DELETE string = "delete"
|
||||
const PATCH string = "patch"
|
||||
const PUT string = "put"
|
||||
const OPTIONS string = "options"
|
||||
const HEAD string = "head"
|
||||
const CONTENT_TYPE string = "content-Type"
|
||||
const CONTENT_TYPE_HTML string = "text/html; charset=utf-8"
|
||||
const CONTENT_TYPE_JSON string = "application/json"
|
||||
const CONTENT_TYPE_TEXT string = "text/plain"
|
||||
const CONTENT_TYPE_MULTIPART_FORM_DATA string = "multipart/form-data;"
|
||||
const LOCALHOST string = "http://localhost"
|
||||
const TEST_STR string = "Testing!"
|
||||
const PRODUCTION string = "production"
|
||||
Loading…
Add table
Add a link
Reference in a new issue