Documentation ¶
Index ¶
- Variables
- type ListUrls
- type Service
- func (service *Service) GetBlackListUrls() (*ListUrls, error)
- func (service *Service) GetListUrls() (*ListUrls, error)
- func (service *Service) GetWhiteListUrls() (*ListUrls, error)
- func (service *Service) UpdateBlackListUrls(list ListUrls) (*ListUrls, error)
- func (service *Service) UpdateListUrls(listUrls ListUrls) (*ListUrls, error)
- func (service *Service) UpdateWhiteListUrls(list ListUrls) (*ListUrls, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AddRemoveURLFromList []string = []string{
"ADD_TO_LIST",
"REMOVE_FROM_LIST",
}
TODO: because there isn't an endpoint to get all Urls, we need to have all action types here.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) GetBlackListUrls ¶
func (*Service) GetListUrls ¶
func (*Service) GetWhiteListUrls ¶
func (*Service) UpdateBlackListUrls ¶
func (*Service) UpdateListUrls ¶
Click to show internal directories.
Click to hide internal directories.