Documentation ¶
Index ¶
- func DestroyDAPR()
- func InitDAPR(timeoutSec int64)
- type Client
- func (client *Client) DeleteState(stateStoreName string, key string, meta map[string]string) error
- func (client *Client) ExecuteStateTransaction(stateStoreName string, meta map[string]string, ops []*dapr.StateOperation) error
- func (client *Client) GetState(stateStoreName string, key string, meta map[string]string) (*dapr.StateItem, error)
- func (client *Client) InvokeDeleteMethod(appID string, methodName string) ([]byte, error)
- func (client *Client) InvokeGetMethod(appID string, methodName string) ([]byte, error)
- func (client *Client) InvokePostMethodJson(appID string, methodName string, jsonData []byte) ([]byte, error)
- func (client *Client) InvokePostMethodMultipart(appID string, methodName string, multipartContentType string, data []byte) ([]byte, error)
- func (client *Client) InvokePutMethodJson(appID string, methodName string, jsonData []byte) ([]byte, error)
- func (client *Client) Publish(pubsubName string, topic string, content []byte) error
- func (client *Client) SaveState(stateStoreName string, key string, value []byte, meta map[string]string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestroyDAPR ¶
func DestroyDAPR()
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func GetInstance ¶
func GetInstance() *Client
func (*Client) DeleteState ¶ added in v0.1.8
func (*Client) ExecuteStateTransaction ¶ added in v0.1.8
func (*Client) InvokeDeleteMethod ¶
func (*Client) InvokeGetMethod ¶
func (*Client) InvokePostMethodJson ¶
func (*Client) InvokePostMethodMultipart ¶ added in v0.1.8
func (*Client) InvokePutMethodJson ¶
Click to show internal directories.
Click to hide internal directories.