Versions in this module Expand all Collapse all v0 v0.22.0 Apr 6, 2020 Changes in this version + type HTTPClient struct + func New(privateKeyContents []byte) *HTTPClient + func NewHTTPClient(origin string, privateKeyContents []byte) *HTTPClient + func (c HTTPClient) AssignPolicy(policyID string, channelID string) error + func (c HTTPClient) AuthInit() error + func (c HTTPClient) CreateChannel(name string, description string) (*enterprisetypes.Channel, error) + func (c HTTPClient) CreatePolicy(name string, description string, policy string) (*enterprisetypes.Policy, error) + func (c HTTPClient) ListChannels() ([]*enterprisetypes.Channel, error) + func (c HTTPClient) ListPolicies() ([]*enterprisetypes.Policy, error) + func (c HTTPClient) RemovePolicy(id string) error + func (c HTTPClient) UnassignPolicy(policyID string, channelID string) error