const google.golang.org/grpc/internal/grpcutil.baseContentType
7 uses
google.golang.org/grpc/internal/grpcutil (current package)
method.go#L42: const baseContentType = "application/grpc"
method.go#L58: if contentType == baseContentType {
method.go#L61: if !strings.HasPrefix(contentType, baseContentType) {
method.go#L65: switch contentType[len(baseContentType)] {
method.go#L70: return contentType[len(baseContentType)+1:], true
method.go#L81: return baseContentType
method.go#L83: return baseContentType + "+" + contentSubtype
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |