Created
December 12, 2016 23:23
-
-
Save mandarjog/3218053bebb0e3584becd67f71f5cafa to your computer and use it in GitHub Desktop.
AccessLogAspect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type ( | |
AccessLogConfig struct { | |
// labels needed by this access Log entry | |
Attributes []string | |
// Template is implementation dependant | |
// For example textTemplate is " ${user.name} ${request.size}" | |
// it could also be the name of a protobuf | |
Template interface{} | |
} | |
AccessLogInput struct { | |
// which stream is this accessLog appeneded to | |
Stream string | |
// Attributes are passed in according to Config | |
Attributes map[string]AttributeValue | |
} | |
// Produces no mappable output | |
AccessLogOut struct {} | |
) | |
type ( | |
TextAWSAccessLogAdapterConfig struct { | |
Access_Key string | |
Secret_Key string | |
Region string | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment