Documentation ¶
Index ¶
- type Factory
- type FactoryImpl
- type TestClient
- type TestClientImpl
- func (c *TestClientImpl) FindAllUsers() ([]*dto.AccountDTO, error)
- func (c *TestClientImpl) GetUserById(ctx context.Context, username string) (*dto.AccountDTO, error)
- func (c *TestClientImpl) Init() error
- func (c *TestClientImpl) SaveUser(ctx context.Context, username string, employee *dto.AccountDTO) (resp.Response, error)
- func (c *TestClientImpl) Url() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
GetTestClient() TestClient
}
type FactoryImpl ¶
type FactoryImpl struct { types.Component `name:"feign_factory"` TestClient TestClient `wire:""` }
func (*FactoryImpl) GetTestClient ¶
func (r *FactoryImpl) GetTestClient() TestClient
type TestClient ¶
type TestClientImpl ¶
type TestClientImpl struct { feign.BaseClient Port int `value:"server.port"` // contains filtered or unexported fields }
func (*TestClientImpl) FindAllUsers ¶
func (c *TestClientImpl) FindAllUsers() ([]*dto.AccountDTO, error)
func (*TestClientImpl) GetUserById ¶
func (c *TestClientImpl) GetUserById(ctx context.Context, username string) (*dto.AccountDTO, error)
func (*TestClientImpl) Init ¶
func (c *TestClientImpl) Init() error
func (*TestClientImpl) SaveUser ¶
func (c *TestClientImpl) SaveUser(ctx context.Context, username string, employee *dto.AccountDTO) (resp.Response, error)
func (*TestClientImpl) Url ¶
func (c *TestClientImpl) Url() string
Click to show internal directories.
Click to hide internal directories.