Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEchoServer ¶ added in v0.0.4
func NewEchoServer() pb.EchoServer
NewEchoServer returns a new EchoServer for the Showcase API.
func NewTestingServer ¶ added in v0.0.5
func NewTestingServer() pb.TestingServer
NewTestingServer returns a new TestingServer for the Showcase API.
Types ¶
type Session ¶ added in v0.0.5
type Session interface { GetName() string GetReport() *pb.ReportSessionResponse AddTest(t Test) error DeleteTest(name string) error AddAnswers(name string, answers []string) error TestAnswers(name string, answers []string) error }
func GetSessionSingleton ¶ added in v0.0.5
func GetSessionSingleton() Session
type Test ¶ added in v0.0.5
type Test interface { GetName() string GetExpectationLevel() pb.Test_ExpectationLevel GetProto() *pb.Test GetState() pb.ReportSessionResponse_State GetIssue() *pb.ReportSessionResponse_Issue GetAnswers() []string HasFailed() bool }
func NewTest ¶ added in v0.0.5
func NewTest(t *pb.Test, issue *pb.ReportSessionResponse_Issue, state pb.ReportSessionResponse_State, answers []string) Test
func TestFromProto ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.