Documentation ¶
Overview ¶
Package fake provide mock gql server used for unit tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server mock the tower server, you can query, subscribe or login to the server. Use server.NewClient() connect to the mock server.
func NewServer ¶
func NewServer(ld conn.ListenerDialer) *Server
NewServer creates a new instance of Server.
func (*Server) TrackerFactory ¶
TrackerFactory let you can mock server resources.
Click to show internal directories.
Click to hide internal directories.