Documentation ¶
Index ¶
- Variables
- type Client
- func (client *Client) CreateWhiteListParticipants(participantID, wlparitcipantID string) error
- func (client *Client) DeleteWhiteListParticipants(participantID, wlparitcipantID string) error
- func (client *Client) GetMutualWhiteListParticipantDomains(participantID string) ([]string, error)
- func (client *Client) GetMutualWhiteListParticipants(participantID string) ([]model.Participant, error)
- func (client *Client) GetWhiteListParticipantDomains(participantID string) ([]string, error)
- func (client *Client) GetWhiteListParticipants(participantID string) ([]model.Participant, error)
- func (client *Client) IsParticipantWhiteListed(participantID string, targetDomain string) (bool, error)
- type InterfaceClient
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("whitelistclient")
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateWhiteListParticipants ¶
func (*Client) DeleteWhiteListParticipants ¶
func (*Client) GetMutualWhiteListParticipantDomains ¶
func (*Client) GetMutualWhiteListParticipants ¶
func (client *Client) GetMutualWhiteListParticipants(participantID string) ([]model.Participant, error)
func (*Client) GetWhiteListParticipantDomains ¶
func (*Client) GetWhiteListParticipants ¶
func (client *Client) GetWhiteListParticipants(participantID string) ([]model.Participant, error)
type InterfaceClient ¶
type InterfaceClient interface { GetWhiteListParticipantDomains(participantID string) ([]string, error) GetWhiteListParticipants(participantID string) ([]model.Participant, error) CreateWhiteListParticipants(participantID, wlparitcipantID string) error IsParticipantWhiteListed(participantID string, targetDomain string) (bool, error) DeleteWhiteListParticipants(participantID, wlparitcipantID string) error GetMutualWhiteListParticipantDomains(participantID string) ([]string, error) GetMutualWhiteListParticipants(participantID string) ([]model.Participant, error) }
Click to show internal directories.
Click to hide internal directories.