Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin(kohaAPI KohaAPI) plugins.BotMessagePlugin
Types ¶
type KohaAPI ¶
type KohaAPI interface {
GetImageURL() string
}
func NewKohaAPI ¶
func NewKohaAPI() KohaAPI
type MockKohaAPI ¶
type MockKohaAPI struct {
// contains filtered or unexported fields
}
Mock of KohaAPI interface
func NewMockKohaAPI ¶
func NewMockKohaAPI(ctrl *gomock.Controller) *MockKohaAPI
func (*MockKohaAPI) EXPECT ¶
func (_m *MockKohaAPI) EXPECT() *_MockKohaAPIRecorder
func (*MockKohaAPI) GetImageURL ¶
func (_m *MockKohaAPI) GetImageURL() string
Click to show internal directories.
Click to hide internal directories.