client

package
v1.20.15 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Module for fx.
	Module = fx.Options(
		v1.Module,
		fx.Provide(NewClient),
	)
)

Functions

This section is empty.

Types

type Client

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

Client for bezeichner.

func NewClient

func NewClient(client v1.ServiceClient) *Client

NewClient for bezeichner.

func (*Client) GenerateIdentifiers

func (c *Client) GenerateIdentifiers(ctx context.Context, app string, count uint64) ([]string, error)

GenerateIdentifiers for client.

func (*Client) MapIdentifiers

func (c *Client) MapIdentifiers(ctx context.Context, ids []string) ([]string, error)

MapIdentifiers for client.

type Config

type Config struct {
	V1 v1.Config `yaml:"v1" json:"v1" toml:"v1"`
}

Config for client.

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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