MCPcopy Create free account

hub / github.com/Ayiga/go-kit-middlewarer / functions

Functions164 in github.com/Ayiga/go-kit-middlewarer

↓ 39 callersMethodString
()
type.go:39
↓ 23 callersMethodPrintf
Printf writes the given output to the internalized buffer.
generator.go:24
↓ 21 callersMethodDecodeResponse
DecodeResponse should be able to return a DecodeResponseFunc that, when provided with an underlying type, can be used to decode a response with the en
encoding/register_encodings.go:65
↓ 20 callersMethodError
()
encoding/wrapper_error_test.go:154
↓ 13 callersMethodEncodeResponse
EncodeResponse should be able to return an EncodeResponseFunc that can encode a given response with the encoding type represented by this type.
encoding/register_encodings.go:61
↓ 12 callersMethodDecodeRequest
DecodeRequest should be able to return a DecodeRequestFunc that, when provided with an underlying type, can be used to decode a request with the encod
encoding/register_encodings.go:57
↓ 10 callersFunctioncreateResponseWriter
(buf *bytes.Buffer)
encoding/request_response_test.go:46
↓ 9 callersMethodWriteHeader
(status int)
encoding/request_response_test.go:42
↓ 8 callersFunctionGet
Get will retrieve the encoding registered with the mime-type
encoding/register_encodings.go:86
↓ 8 callersMethodImportSpec
()
import.go:56
↓ 8 callersFunctioncreateType
(typ ast.Expr, pkg *Package)
type.go:17
↓ 8 callersFunctionformatBuffer
(buf bytes.Buffer, filename string)
util.go:45
↓ 8 callersFunctionopenFile
(dirname, filename string)
util.go:55
↓ 7 callersMethodSetMime
Sets the current mime type to use. If set this mime type should be retrieved by future calls to GetMime on the same variable.
encoding/default.go:25
↓ 6 callersMethodDecode
Decode should populate the given interface with the information stored within the Decoder.
encoding/decoder.go:17
↓ 6 callersMethodError
Error implements the error interface
encoding/register_encodings.go:42
↓ 6 callersFunctionRegister
Register will register the associated encoding with the given mime type
encoding/register_encodings.go:72
↓ 6 callersFunctioncreateImportWithPath
(p string)
import.go:19
↓ 6 callersFunctionparseContentType
(contentType string)
encoding/default.go:95
↓ 4 callersMethodEncodeRequest
EncodeRequest should be able to return an EncodeRequestFunc that can encode the given requests with the encoding type represented by this type.
encoding/register_encodings.go:53
↓ 4 callersMethodParamSpec
()
param.go:33
↓ 4 callersFunctionparseAccept
(accept string)
encoding/default.go:46
↓ 4 callersFunctionsliceContains
(slice []string, entry string)
util.go:10
↓ 4 callersFunctiontransferMimeDetails
(em EmbededMime, ct contentTypeValue, accept acceptContentHeader)
encoding/default.go:127
↓ 3 callersMethodEncode
Encode takes an interface, and should be able to translate it within the given encoding, or it will fail with an error.
encoding/encoder.go:18
↓ 3 callersFunctionGetErrorInstance
GetErrorInstance will use reflection to attempt and instanciate a new error of the given type string. The error returned will be a pointer.
encoding/wrapper_error.go:195
↓ 3 callersFunctionMakeRequestDecoder
MakeRequestDecoder exists to help bridge the gaps for encoding. It takes a request interface type, and a GenerateDecoder, and ultimately returns a fu
encoding/decoder.go:26
↓ 3 callersFunctionMakeRequestEncoder
MakeRequestEncoder takes a GenerateEncoder and returns an httptransport.EncodeRequestFunc
encoding/encoder.go:27
↓ 3 callersFunctionMakeResponseDecoder
MakeResponseDecoder exists to help bridge the gaps for encoding. It takes a response interface type, and a GenerateDecoder, and ultimately returns a
encoding/decoder.go:38
↓ 3 callersFunctionMakeResponseEncoder
MakeResponseEncoder takes a GenerateEncoder and returns an httpstransport.EncodeResponseFunc
encoding/encoder.go:38
↓ 3 callersFunctioncreateTemplateBase
(basePackage, endpointPackage *Import, i Interface, oimps []*Import)
template-structures.go:166
↓ 3 callersFunctionprivateVariableName
(str string)
template-structures.go:62
↓ 3 callersFunctionregisterProcess
(argument string, fun func(*Generator, *File))
main.go:23
↓ 3 callersFunctionresolveFieldTypes
(t ast.Expr, pkgName string)
type.go:46
↓ 2 callersMethodError
()
encoding/wrapper_error.go:23
↓ 2 callersMethodGetMime
Retrieves the currently set mime type of this structure. If nothing has been set, it would be best to specify a def one.
encoding/default.go:21
↓ 2 callersFunctioncreateParam
(field *ast.Field, reservedNames []string, suggestion string, file File)
param.go:14
↓ 2 callersFunctiondetermineLocalName
(suggestedName string, currentNames []string)
util.go:19
↓ 2 callersFunctionencodeRequest
(mime string, ctx context.Context, encoding RequestResponseEncoding, r *http.Request, request interface{})
encoding/default.go:116
↓ 2 callersFunctionencodeResponse
(mime string, ctx context.Context, encoding RequestResponseEncoding, w http.ResponseWriter, response interface
encoding/default.go:122
↓ 2 callersFunctiongetFromEmbededMime
(em EmbededMime)
encoding/default.go:107
↓ 2 callersMethodparsePackage
parsePackage analyzes the signle package constructed from the named files. If text is non-nil, it is a string to be used instead of the content of the
generator.go:62
↓ 2 callersFunctionpublicVariableName
(str string)
template-structures.go:52
↓ 2 callersFunctionusage
()
examples/stringsvc/cmd/stringsvc2/main.go:27
↓ 1 callersMethodCount
Count returns the length of the given string
examples/stringsvc/string_service.go:11
↓ 1 callersMethodHeader
()
encoding/request_response_test.go:38
↓ 1 callersMethodInterfaceMethodSpec
()
method.go:114
↓ 1 callersMethodSummarize
()
package.go:40
↓ 1 callersMethodUppercase
Uppercase returns an uppercase version of the given string, or an error.
examples/stringsvc/string_service.go:8
↓ 1 callersFunctionWrapError
(e error)
encoding/wrapper_error.go:145
↓ 1 callersMethodcheck
check type-checks the package. The package must be OK to proceed.
package.go:27
↓ 1 callersFunctioncopyRequestToBuf
(r *http.Request)
encoding/hint_resolver.go:16
↓ 1 callersFunctioncopyResponseToBuf
(r *http.Response)
encoding/hint_resolver.go:31
↓ 1 callersFunctioncreateImport
(imp *ast.ImportSpec)
import.go:34
↓ 1 callersFunctioncreateInterface
(name string, iface *ast.InterfaceType, reservedNames []string, file File)
interface.go:19
↓ 1 callersFunctioncreateMethod
(field *ast.Field, reservedNames []string, file File)
method.go:27
↓ 1 callersFunctioncreateStruct
(name string, iface *ast.StructType, file File)
struct.go:16
↓ 1 callersFunctioncreateTemplateMethods
(basePackage, endpointPackage *Import, interf Interface, methods []Method, reseveredNames []string)
template-structures.go:72
↓ 1 callersFunctioncreateVariable
(name, value string, typ *Type)
variable.go:9
↓ 1 callersMethodgenerate
generate does 'things'
generator.go:112
↓ 1 callersMethodhighest
()
encoding/default.go:77
↓ 1 callersFunctionisDirectory
(name string)
main.go:76
↓ 1 callersMethodmethodArgumentNames
()
method.go:143
↓ 1 callersMethodmethodArguments
()
method.go:134
↓ 1 callersMethodmethodResultNames
()
method.go:161
↓ 1 callersMethodmethodResults
()
method.go:152
↓ 1 callersMethodparsePackageDir
(directory string)
generator.go:28
↓ 1 callersMethodparsePackageFiles
(names []string)
generator.go:55
↓ 1 callersFunctionprefixDirectory
(directory string, names []string)
main.go:84
↓ 1 callersFunctionprocessHTTPInstanceClient
(gopath string, tb TemplateBase)
process-transport.go:95
↓ 1 callersFunctionprocessHTTPLoadBalancedClient
(gopath string, tb TemplateBase)
process-transport.go:116
↓ 1 callersFunctionprocessHTTPServer
(gopath string, tb TemplateBase)
process-transport.go:53
↓ 1 callersFunctionprocessMakeEndpoint
(gopath string, tb TemplateBase)
process-transport.go:33
↓ 1 callersFunctionprocessRequestResponse
(gopath string, tb TemplateBase)
process-transport.go:12
↓ 1 callersFunctionprocessTransportClient
(gopath string, tb TemplateBase)
process-transport.go:74
↓ 1 callersMethodusedNames
()
method.go:101
MethodCount
Count implements StringService
examples/stringsvc/cmd/stringsvc2/implementation.go:18
MethodCount
Count implements StringService
examples/stringsvc/cmd/stringsvc/main.go:25
MethodDecodeRequest
DecodeRequest implements RequestResponseEncoding
encoding/gob.go:34
MethodDecodeRequest
DecodeRequest implements RequestResponseEncoding
encoding/xml.go:35
MethodDecodeRequest
DecodeRequest implements RequestResponseEncoding
encoding/default.go:161
MethodDecodeRequest
DecodeRequest implements RequestResponseEncoding
encoding/hint_resolver.go:56
MethodDecodeRequest
DecodeRequest implements RequestResponseEncoding
encoding/json.go:35
MethodDecodeResponse
DecodeResponse implements RequestResponseEncoding
encoding/gob.go:44
MethodDecodeResponse
DecodeResponse implements RequestResponseEncoding
encoding/xml.go:45
MethodDecodeResponse
DecodeResponse implements RequestResponseEncoding
encoding/default.go:205
MethodDecodeResponse
DecodeResponse implements RequestResponseEncoding
encoding/hint_resolver.go:137
MethodDecodeResponse
DecodeResponse implements RequestResponseEncoding
encoding/json.go:45
FunctionDefault
Default returns the default RequestResponseEncoding
encoding/default.go:29
MethodEncodeRequest
EncodeRequest implements RequestResponseEncoding
encoding/gob.go:29
MethodEncodeRequest
EncodeRequest implements RequestResponseEncoding
encoding/xml.go:30
MethodEncodeRequest
EncodeRequest implements RequestResponseEncoding
encoding/default.go:140
MethodEncodeRequest
EncodeRequest does not implement RequestResponseEncoding
encoding/hint_resolver.go:49
MethodEncodeRequest
EncodeRequest implements RequestResponseEncoding
encoding/json.go:30
MethodEncodeResponse
EncodeResponse implements RequestResponseEncoding
encoding/gob.go:39
MethodEncodeResponse
EncodeResponse implements RequestResponseEncoding
encoding/xml.go:40
MethodEncodeResponse
EncodeResponse implements RequestResponseEncoding
encoding/default.go:183
MethodEncodeResponse
EncodeResponse does not implement RequestResponseEncoding
encoding/hint_resolver.go:130
MethodEncodeResponse
EncodeResponse implements RequestResponseEncoding
encoding/json.go:40
MethodEqual
(o Type)
type.go:35
next →1–100 of 164, ranked by callers