client

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, adminURL, grpcURL string) (*Client, error)

func (*Client) RegisterSubscriber

func (c *Client) RegisterSubscriber(ctx context.Context, name, endpoint string) (string, error)

func (*Client) UnregisterSubscriber

func (c *Client) UnregisterSubscriber(ctx context.Context, id string) error

type RegisterSubscriberRequest

type RegisterSubscriberRequest struct {
	Name     string `json:"name"`
	Endpoint string `json:"endpoint"`
}

type RegisterSubscriberResponse

type RegisterSubscriberResponse struct {
	ID string `json:"id"`
}

Jump to

Keyboard shortcuts

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