wrapper

package
v0.0.0-...-4116be1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dapr

type Dapr struct {
	Host string
	Port string
}

func New

func New(host, port string) *Dapr

func (*Dapr) BaseUrl

func (d *Dapr) BaseUrl() string

func (*Dapr) GetSecretFromFile

func (d *Dapr) GetSecretFromFile(secretstore, key string) (string, error)

func (*Dapr) PublichCh

func (d *Dapr) PublichCh(chMessage chan Message)

func (*Dapr) Publish

func (d *Dapr) Publish(pubsubComponentName, topic string, message []byte) error

type Message

type Message struct {
	ComponentName string
	Topic         string
	Data          []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL