Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/smithy-go
/ functions
Functions
4,136 in github.com/aws/smithy-go
⨍
Functions
4,136
◇
Types & classes
864
↓ 3 callers
Method
writeComma
()
transport/http/protocol/internal/json/shape_serializer.go:90
↓ 3 callers
Method
writeHeaderStructField
Writes a structure header member with values from a map. @param writer writer to write generated code with. @param field name of the field. @param v
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpProtocolUnitTestGenerator.java:422
↓ 3 callers
Method
writeHttpBindingSetter
( GenerationContext context, GoWriter writer, MemberShape memberShape,
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/HttpBindingProtocolGenerator.java:776
↓ 3 callers
Method
writeIfNonZeroValueMember
Writes non-zero conditional check around a lambda specific to a member of a container. <p> Ignores empty strings of string pointers, and members neste
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/GoValueAccessUtils.java:127
↓ 3 callers
Method
writeInternalDocumentPackage
(String fileName, Consumer<GoWriter> writerConsumer)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ProtocolDocumentGenerator.java:445
↓ 3 callers
Method
writeManifest
Write the manifest description of the Smithy model based generated source code. @param settings the go settings @param model the smithy mo
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ManifestWriter.java:70
↓ 3 callers
Method
writeMemberValueInline
Writes generation of a member shape value type declaration for the given the parameters. @param writer writer to write generated code with. @param me
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/ShapeValueGenerator.java:131
↓ 3 callers
Method
writer
(GoWriter writer)
codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/integration/ProtocolGenerator.java:594
↓ 2 callers
Method
Add
(context.Context, float64, ...otelmetric.AddOption)
metrics/smithyotelmetrics/float64.go:11
↓ 2 callers
Method
AddHeader
AddHeader returns a HeaderValue for appending to the given header name
encoding/httpbinding/encode.go:81
↓ 2 callers
Method
Base64EncodeBytes
Base64EncodeBytes writes v as a base64 value in JSON string
encoding/json/value.go:78
↓ 2 callers
Method
BigDecimal
BigDecimal encodes v big.Float as XML value. It will auto close the parent xml element tag.
encoding/xml/value.go:182
↓ 2 callers
Method
BigInteger
BigInteger encodes v big.Int as XML value. It will auto close the parent xml element tag.
encoding/xml/value.go:175
↓ 2 callers
Method
Build
Build encodes HTTP binding values into the request and sets the request body. The defaultContentType is used for the protocol body (e.g. "application/
transport/http/protocol/internal/httpbinding/serializer.go:92
↓ 2 callers
Function
BuildMiddlewareFunc
BuildMiddlewareFunc returns a BuildMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_build.go:47
↓ 2 callers
Method
Bytes
Bytes returns a copy of the serialized JSON bytes, safe to retain after Close().
transport/http/protocol/internal/json/shape_serializer.go:86
↓ 2 callers
Method
Close
()
aws-http-auth/sigv4a/e2e_test.go:25
↓ 2 callers
Method
Close
Close returns the serializer to the pool for reuse.
transport/http/protocol/internal/json/shape_serializer.go:78
↓ 2 callers
Method
Close
Close returns the deserializer to the pool for reuse.
transport/http/protocol/internal/json/shape_deserializer.go:73
↓ 2 callers
Method
Close
()
transport/http/internal/io/safe_test.go:23
↓ 2 callers
Function
CompareValues
CompareValues compares two values to determine if they are equal, specialized for comparison of SDK operation output types. CompareValues expects the
testing/struct.go:23
↓ 2 callers
Method
ConnectDone
(ctx context.Context)
transport/http/metrics.go:154
↓ 2 callers
Method
DNSDone
(ctx context.Context)
transport/http/metrics.go:148
↓ 2 callers
Function
DecoderFieldByIndex
DecoderFieldByIndex finds the field with the provided nested index, allocating embedded parent structs if needed
document/internal/serde/field.go:268
↓ 2 callers
Method
DirectReadMap
DirectReadMap is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads map entries directly.
transport/http/protocol/internal/json/shape_deserializer.go:791
↓ 2 callers
Method
DirectReadStruct
DirectReadStruct is a concrete-type fast path that avoids interface dispatch. It skips the head stack and reads struct members directly.
transport/http/protocol/internal/json/shape_deserializer.go:631
↓ 2 callers
Method
Double
Double encodes v as a JSON number
encoding/json/value.go:62
↓ 2 callers
Function
EncoderFieldByIndex
EncoderFieldByIndex finds the field with the provided nested index
document/internal/serde/field.go:282
↓ 2 callers
Function
Float32
Float32 returns a pointer value for the float32 value passed in.
ptr/to_ptr.go:386
↓ 2 callers
Function
Float64
Float64 returns a pointer value for the float64 value passed in.
ptr/to_ptr.go:415
↓ 2 callers
Method
Float64Histogram
(name string, opts ...InstrumentOption)
metrics/metrics.go:40
↓ 2 callers
Method
Get
Retrieve the value associated with the given key. The returned boolean indicates whether the cache held a value for the given key.
container/private/cache/cache.go:15
↓ 2 callers
Function
GetSpan
GetSpan returns the active trace Span on the context. The boolean in the return indicates whether a Span was actually in the context, but a no-op imp
tracing/context.go:16
↓ 2 callers
Method
GotConn
(ctx context.Context)
transport/http/metrics.go:136
↓ 2 callers
Method
GotFirstResponseByte
(ctx context.Context)
transport/http/metrics.go:166
↓ 2 callers
Method
HandleBuild
HandleBuild adds the length of the serialized request to the HTTP header if the length can be determined.
transport/http/middleware_content_length.go:26
↓ 2 callers
Method
HasInitialEventMessage
event stream APIs
transport/http/protocol.go:22
↓ 2 callers
Method
ID
()
middleware/stack.go:153
↓ 2 callers
Function
Indirect
Indirect will walk a value's interface or pointer value types. Returning the final value or the value a unmarshaler is defined on. Based on the enodi
document/internal/serde/serde.go:12
↓ 2 callers
Function
Int16
Int16 returns a pointer value for the int16 value passed in.
ptr/to_ptr.go:154
↓ 2 callers
Function
Int32
Int32 returns a pointer value for the int32 value passed in.
ptr/to_ptr.go:183
↓ 2 callers
Function
Int64
Int64 returns a pointer value for the int64 value passed in.
ptr/to_ptr.go:212
↓ 2 callers
Method
Int64UpDownCounter
(name string, opts ...InstrumentOption)
metrics/metrics.go:27
↓ 2 callers
Function
Int8
Int8 returns a pointer value for the int8 value passed in.
ptr/to_ptr.go:125
↓ 2 callers
Method
IsStreamSeekable
IsStreamSeekable returns whether the stream is seekable.
transport/http/request.go:114
↓ 2 callers
Function
IsZeroValue
IsZeroValue returns whether v is the zero-value for its type.
document/internal/serde/serde.go:66
↓ 2 callers
Method
Len
Len returns the number of unread bytes in the buffer.
io/ringbuffer.go:78
↓ 2 callers
Method
MarshalSmithyDocument
()
document/document.go:62
↓ 2 callers
Method
Message
()
eventstream/debug.go:74
↓ 2 callers
Method
Meter
(scope string, opts ...MeterOption)
metrics/metrics.go:12
↓ 2 callers
Function
New
New creates a new LRU cache with the given capacity.
container/private/cache/lru/lru.go:17
↓ 2 callers
Function
NewEncoder
NewEncoder returns a new JSON encoder
encoding/json/encoder.go:15
↓ 2 callers
Function
NewSafeReadCloser
NewSafeReadCloser returns a new safeReadCloser that wraps readCloser.
transport/http/internal/io/safe.go:9
↓ 2 callers
Function
NewShapeDeserializer
NewShapeDeserializer returns a deserializer for a Message.
eventstream/deserializer.go:35
↓ 2 callers
Function
NewShapeSerializer
NewShapeSerializer creates a new ShapeSerializer.
transport/http/protocol/internal/json/shape_serializer.go:62
↓ 2 callers
Function
NewStandardLogger
NewStandardLogger returns a new StandardLogger
logging/logger.go:78
↓ 2 callers
Function
ParseHTTPDate
ParseHTTPDate parses a string as a http-date, (RFC 7231#section-7.1.1.1 IMF-fixdate) Example: Tue, 29 Apr 2014 18:30:38 GMT
time/time.go:56
↓ 2 callers
Method
Push
()
middleware/stack.go:190
↓ 2 callers
Method
ReadByte
()
eventstream/decode.go:164
↓ 2 callers
Method
ReadDocument
(*Schema, *document.Value)
serde.go:88
↓ 2 callers
Method
ReadFloat32
(*Schema, *float32)
serde.go:74
↓ 2 callers
Method
ReadInt16
(*Schema, *int16)
serde.go:71
↓ 2 callers
Method
ReadInt32
(*Schema, *int32)
serde.go:72
↓ 2 callers
Method
ReadInt64
(*Schema, *int64)
serde.go:73
↓ 2 callers
Method
ReadInt8
(*Schema, *int8)
serde.go:70
↓ 2 callers
Method
ReadNil
(*Schema)
serde.go:82
↓ 2 callers
Method
ReadTime
(*Schema, *time.Time)
serde.go:79
↓ 2 callers
Method
RetrieveBearerToken
(context.Context)
auth/bearer/token.go:28
↓ 2 callers
Function
SerializeMiddlewareFunc
SerializeMiddlewareFunc returns a SerializeMiddleware with the unique ID provided, and the func to be invoked.
middleware/step_serialize.go:50
↓ 2 callers
Method
SetContext
SetContext updates the context of the error.
validation.go:73
↓ 2 callers
Method
SetPayloadStream
(io.ReadCloser)
serde.go:119
↓ 2 callers
Method
SetProperty
(k, v any)
tracing/tracing.go:73
↓ 2 callers
Function
SortXML
SortXML sorts the reader's XML elements
testing/xml/sort.go:37
↓ 2 callers
Function
SplitURI
SplitURI parses a Smithy HTTP binding trait URI
encoding/httpbinding/uri.go:97
↓ 2 callers
Method
TLSHandshakeDone
(ctx context.Context)
transport/http/metrics.go:160
↓ 2 callers
Function
ToBool
ToBool returns bool value dereferenced if the passed in pointer was not nil. Returns a bool zero value if the pointer was nil.
ptr/from_ptr.go:11
↓ 2 callers
Function
ToByte
ToByte returns byte value dereferenced if the passed in pointer was not nil. Returns a byte zero value if the pointer was nil.
ptr/from_ptr.go:46
↓ 2 callers
Function
ToDuration
ToDuration returns time.Duration value dereferenced if the passed in pointer was not nil. Returns a time.Duration zero value if the pointer was nil.
ptr/from_ptr.go:571
↓ 2 callers
Function
ToFloat32
ToFloat32 returns float32 value dereferenced if the passed in pointer was not nil. Returns a float32 zero value if the pointer was nil.
ptr/from_ptr.go:466
↓ 2 callers
Function
ToFloat64
ToFloat64 returns float64 value dereferenced if the passed in pointer was not nil. Returns a float64 zero value if the pointer was nil.
ptr/from_ptr.go:501
↓ 2 callers
Function
ToInt
ToInt returns int value dereferenced if the passed in pointer was not nil. Returns a int zero value if the pointer was nil.
ptr/from_ptr.go:116
↓ 2 callers
Function
ToInt16
ToInt16 returns int16 value dereferenced if the passed in pointer was not nil. Returns a int16 zero value if the pointer was nil.
ptr/from_ptr.go:186
↓ 2 callers
Function
ToInt32
ToInt32 returns int32 value dereferenced if the passed in pointer was not nil. Returns a int32 zero value if the pointer was nil.
ptr/from_ptr.go:221
↓ 2 callers
Function
ToInt64
ToInt64 returns int64 value dereferenced if the passed in pointer was not nil. Returns a int64 zero value if the pointer was nil.
ptr/from_ptr.go:256
↓ 2 callers
Function
ToInt8
ToInt8 returns int8 value dereferenced if the passed in pointer was not nil. Returns a int8 zero value if the pointer was nil.
ptr/from_ptr.go:151
↓ 2 callers
Function
ToString
ToString returns string value dereferenced if the passed in pointer was not nil. Returns a string zero value if the pointer was nil.
ptr/from_ptr.go:81
↓ 2 callers
Function
ToTime
ToTime returns time.Time value dereferenced if the passed in pointer was not nil. Returns a time.Time zero value if the pointer was nil.
ptr/from_ptr.go:536
↓ 2 callers
Function
ToUint
ToUint returns uint value dereferenced if the passed in pointer was not nil. Returns a uint zero value if the pointer was nil.
ptr/from_ptr.go:291
↓ 2 callers
Function
ToUint16
ToUint16 returns uint16 value dereferenced if the passed in pointer was not nil. Returns a uint16 zero value if the pointer was nil.
ptr/from_ptr.go:361
↓ 2 callers
Function
ToUint32
ToUint32 returns uint32 value dereferenced if the passed in pointer was not nil. Returns a uint32 zero value if the pointer was nil.
ptr/from_ptr.go:396
↓ 2 callers
Function
ToUint64
ToUint64 returns uint64 value dereferenced if the passed in pointer was not nil. Returns a uint64 zero value if the pointer was nil.
ptr/from_ptr.go:431
↓ 2 callers
Function
ToUint8
ToUint8 returns uint8 value dereferenced if the passed in pointer was not nil. Returns a uint8 zero value if the pointer was nil.
ptr/from_ptr.go:326
↓ 2 callers
Method
ToXML
()
aws-http-auth/sigv4a/e2e_test.go:28
↓ 2 callers
Method
TraitID
()
trait.go:7
↓ 2 callers
Method
TraitIndex
()
trait.go:20
↓ 2 callers
Method
ULong
ULong encodes v as a JSON number
encoding/json/value.go:51
↓ 2 callers
Function
Uint16
Uint16 returns a pointer value for the uint16 value passed in.
ptr/to_ptr.go:299
↓ 2 callers
Function
Uint32
Uint32 returns a pointer value for the uint32 value passed in.
ptr/to_ptr.go:328
↓ 2 callers
Function
Uint64
Uint64 returns a pointer value for the uint64 value passed in.
ptr/to_ptr.go:357
↓ 2 callers
Function
Uint8
Uint8 returns a pointer value for the uint8 value passed in.
ptr/to_ptr.go:270
← previous
next →
601–700 of 4,136, ranked by callers