OSDN Git Service

change the ts (#284)
[bytom/vapor.git] / toolbar / federation / api / common.go
1 package api
2
3 import (
4         "reflect"
5
6         "github.com/gin-gonic/gin"
7 )
8
9 const (
10         serverLabel  = "server_label"
11         reqBodyLabel = "request_body_label"
12 )
13
14 var (
15         errorType           = reflect.TypeOf((*error)(nil)).Elem()
16         contextType         = reflect.TypeOf((*gin.Context)(nil))
17         paginationQueryType = reflect.TypeOf((*PaginationQuery)(nil))
18 )