aboutsummaryrefslogtreecommitdiff
path: root/target.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-09-18 21:43:57 +0700
committerShulhan <ms@kilabit.info>2021-09-18 21:43:57 +0700
commit8fa18a28d3f378dba8b5fddf19021c9849b7de7e (patch)
tree4573b1dd3487b84f79cb39c334647e2048d388df /target.go
parentbaef891125b216cbe427288ad2d5fcb943b42db3 (diff)
downloadgorankusu-8fa18a28d3f378dba8b5fddf19021c9849b7de7e.tar.xz
all: add "Hint" for Target, HTTP, and WebSocket Target
The "Hint" provide a general description for Target, a single HttpTarget, and WebSocketTarget.
Diffstat (limited to 'target.go')
-rw-r--r--target.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/target.go b/target.go
index 7a1f414..d0e608b 100644
--- a/target.go
+++ b/target.go
@@ -16,6 +16,7 @@ import (
type Target struct {
ID string
Name string
+ Hint string
// BaseUrl contains the target address that serve the service to
// be tested.