23 lines
369 B
Go
23 lines
369 B
Go
package mocks
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/stretchr/testify/mock"
|
|
)
|
|
|
|
type MockIngesterClient struct {
|
|
mock.Mock
|
|
}
|
|
|
|
func (m *MockIngesterClient) IngestSession(c *gin.Context) {
|
|
m.Called(c)
|
|
}
|
|
|
|
func (m *MockIngesterClient) IngestEvent(c *gin.Context) {
|
|
m.Called(c)
|
|
}
|
|
|
|
func (m *MockIngesterClient) IngestAppMetrics(c *gin.Context) {
|
|
m.Called(c)
|
|
}
|