Documentation ¶
Overview ¶
Package usage provides a tool for dynamically determining which AWS services use which AWS protocols.
It supports tests of the detect package, ensuring that the protocol map stays up to date
It is not run during normal use of awsfaker because building up the requisite reverse import path takes several seconds to complete.
Index ¶
Constants ¶
View Source
const ProtocolPackage = "github.com/aws/aws-sdk-go/private/protocol"
View Source
const ServicePackage = "github.com/aws/aws-sdk-go/service"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtocolUsage ¶
func GetShortUsage ¶
func GetShortUsage(reverseImports importgraph.Graph) ProtocolUsage
Return the ProtocolUsage, expressed in short package names, given a reverse import graph
To get the reverse import path, run:
_, reverseImports, _ := importgraph.Build(&build.Default)
Click to show internal directories.
Click to hide internal directories.