github.com/aldelo/common@v1.5.1/wrapper/gin/ginbindtype/ginbindtype.go (about) 1 package ginbindtype 2 3 /* 4 * Copyright 2020-2023 Aldelo, LP 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 19 //go:generate gen-enumer -type GinBindType 20 21 type GinBindType int 22 23 const ( 24 UNKNOWN GinBindType = 0 25 BindHeader GinBindType = 1 26 BindJson GinBindType = 2 27 BindQuery GinBindType = 3 28 BindUri GinBindType = 4 29 BindXml GinBindType = 5 30 BindYaml GinBindType = 6 31 BindProtoBuf GinBindType = 7 32 BindPostForm GinBindType = 8 33 ) 34 35 const ( 36 _GinBindTypeKey_0 = "UNKNOWN" 37 _GinBindTypeKey_1 = "BindHeader" 38 _GinBindTypeKey_2 = "BindJson" 39 _GinBindTypeKey_3 = "BindQuery" 40 _GinBindTypeKey_4 = "BindUri" 41 _GinBindTypeKey_5 = "BindXml" 42 _GinBindTypeKey_6 = "BindYaml" 43 _GinBindTypeKey_7 = "BindProtoBuf" 44 _GinBindTypeKey_8 = "BindPostForm" 45 ) 46 47 const ( 48 _GinBindTypeCaption_0 = "UNKNOWN" 49 _GinBindTypeCaption_1 = "BindHeader" 50 _GinBindTypeCaption_2 = "BindJson" 51 _GinBindTypeCaption_3 = "BindQuery" 52 _GinBindTypeCaption_4 = "BindUri" 53 _GinBindTypeCaption_5 = "BindXml" 54 _GinBindTypeCaption_6 = "BindYaml" 55 _GinBindTypeCaption_7 = "BindProtoBuf" 56 _GinBindTypeCaption_8 = "BindPostForm" 57 ) 58 59 const ( 60 _GinBindTypeDescription_0 = "UNKNOWN" 61 _GinBindTypeDescription_1 = "BindHeader" 62 _GinBindTypeDescription_2 = "BindJson" 63 _GinBindTypeDescription_3 = "BindQuery" 64 _GinBindTypeDescription_4 = "BindUri" 65 _GinBindTypeDescription_5 = "BindXml" 66 _GinBindTypeDescription_6 = "BindYaml" 67 _GinBindTypeDescription_7 = "BindProtoBuf" 68 _GinBindTypeDescription_8 = "BindPostForm" 69 )