· 9 years ago · Dec 12, 2016, 11:26 PM
1type (
2 AccessLogConfig struct {
3 // labels needed by this access Log entry
4 Attributes []string
5 // Template is implementation dependant
6 // For example textTemplate is " ${user.name} ${request.size}"
7 // it could also be the name of a protobuf
8 Template interface{}
9 }
10
11 AccessLogInput struct {
12 // which stream is this accessLog appeneded to
13 Stream string
14
15 // Attributes are passed in according to Config
16 Attributes map[string]AttributeValue
17 }
18
19 // Produces no mappable output
20 AccessLogOut struct {}
21)
22
23type (
24 TextAWSAccessLogAdapterConfig struct {
25 Access_Key string
26 Secret_Key string
27 Region string
28 }
29)