Versions in this module Expand all Collapse all v1 v1.0.1 May 10, 2021 v1.0.0 May 9, 2021 Changes in this version + type MockHandler struct + Hdlr interface{} + Id string + Opts server.HandlerOptions + func (m *MockHandler) Endpoints() []*registry.Endpoint + func (m *MockHandler) Handler() interface{} + func (m *MockHandler) Name() string + func (m *MockHandler) Options() server.HandlerOptions + type MockServer struct + Handlers map[string]server.Handler + Opts server.Options + Running bool + Subscribers map[string][]server.Subscriber + func NewServer(opts ...server.Option) *MockServer + func (m *MockServer) Deregister() error + func (m *MockServer) Handle(h server.Handler) error + func (m *MockServer) Init(opts ...server.Option) error + func (m *MockServer) NewHandler(h interface{}, opts ...server.HandlerOption) server.Handler + func (m *MockServer) NewSubscriber(topic string, fn interface{}, opts ...server.SubscriberOption) server.Subscriber + func (m *MockServer) Options() server.Options + func (m *MockServer) Register() error + func (m *MockServer) Start() error + func (m *MockServer) Stop() error + func (m *MockServer) String() string + func (m *MockServer) Subscribe(sub server.Subscriber) error + type MockSubscriber struct + Id string + Opts server.SubscriberOptions + Sub interface{} + func (m *MockSubscriber) Endpoints() []*registry.Endpoint + func (m *MockSubscriber) Options() server.SubscriberOptions + func (m *MockSubscriber) Subscriber() interface{} + func (m *MockSubscriber) Topic() string Incompatible versions in this module v2.3.0+incompatible May 9, 2021