Documentation ¶
Index ¶
- type URLApiService
- func (s *URLApiService) CreateUrl(ctx context.Context, newURL server.Url, requestID string) (serverRes server.ImplResponse, err error)
- func (s *URLApiService) DeleteUrl(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
- func (s *URLApiService) GetUrl(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
- func (s *URLApiService) GetUrlData(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
- type URLMock
- func (s *URLMock) CreateUrl(_ context.Context, _ server.Url, _ string) (server.ImplResponse, error)
- func (s *URLMock) DeleteUrl(_ context.Context, _ string, _ string) (server.ImplResponse, error)
- func (s *URLMock) GetUrl(_ context.Context, _ string, _ string) (server.ImplResponse, error)
- func (s *URLMock) GetUrlData(_ context.Context, _ string, _ string) (server.ImplResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLApiService ¶
implements the URLApiServicer interface s *URLApiService server.URLApiServicer
func (*URLApiService) CreateUrl ¶
func (s *URLApiService) CreateUrl(ctx context.Context, newURL server.Url, requestID string) (serverRes server.ImplResponse, err error)
func (*URLApiService) DeleteUrl ¶
func (s *URLApiService) DeleteUrl(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
func (*URLApiService) GetUrl ¶
func (s *URLApiService) GetUrl(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
func (*URLApiService) GetUrlData ¶
func (s *URLApiService) GetUrlData(ctx context.Context, alias string, requestID string) (server.ImplResponse, error)
Click to show internal directories.
Click to hide internal directories.