1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/util/kubernetes/client/options.go
2019-12-24 17:33:05 +00:00

15 lines
251 B
Go

package client
type LogOptions struct {
Params map[string]string
}
type LogOption func(*LogOptions)
// LogParams provides additional params for logs
func LogParams(p map[string]string) LogOption {
return func(l *LogOptions) {
l.Params = p
}
}