Documentation
¶
Overview ¶
Package khumu is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
API_TIMEOUT = 10 * time.Second
)
Functions ¶
This section is empty.
Types ¶
type IsAuthorReq ¶
type IsAuthorReq struct {
Author string `json:"author"`
}
type IsAuthorResp ¶
type IsAuthorResp struct { Data struct { IsAuthor bool `json:"is_author"` } `json:"data"` }
type KhumuAPIAdapter ¶
KhumuAPIAdapter 는 khumu의 API를 바탕으로한 마이크로서비스간의 통신을 위한 struct
func NewKhumuAPIAdapter ¶
func NewKhumuAPIAdapter() KhumuAPIAdapter
type KhumuAPIAdapterImpl ¶
type KhumuAPIAdapterImpl struct {
CommandCenterRootURL string
}
type MockKhumuAPIAdapter ¶
type MockKhumuAPIAdapter struct {
// contains filtered or unexported fields
}
MockKhumuAPIAdapter is a mock of KhumuAPIAdapter interface.
func NewMockKhumuAPIAdapter ¶
func NewMockKhumuAPIAdapter(ctrl *gomock.Controller) *MockKhumuAPIAdapter
NewMockKhumuAPIAdapter creates a new mock instance.
func (*MockKhumuAPIAdapter) EXPECT ¶
func (m *MockKhumuAPIAdapter) EXPECT() *MockKhumuAPIAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKhumuAPIAdapterMockRecorder ¶
type MockKhumuAPIAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockKhumuAPIAdapterMockRecorder is the mock recorder for MockKhumuAPIAdapter.
func (*MockKhumuAPIAdapterMockRecorder) IsAuthor ¶
func (mr *MockKhumuAPIAdapterMockRecorder) IsAuthor(articleID, authorID interface{}) *gomock.Call
IsAuthor indicates an expected call of IsAuthor.
Click to show internal directories.
Click to hide internal directories.