trace Read endpoint
This commit is contained in:
@@ -10,3 +10,10 @@ type ReadOptions struct {
|
||||
}
|
||||
|
||||
type ReadOption func(o *ReadOptions)
|
||||
|
||||
// Read the given trace
|
||||
func ReadTrace(t string) ReadOption {
|
||||
return func(o *ReadOptions) {
|
||||
o.Trace = t
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user