tckgenerator

package
v0.0.0-...-f02a2e5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: GPL-3.0 Imports: 11 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
}

Service is a struct to store DB and logger connection

func Init

func Init(db *sql.DB, l *zap.Logger) *Client

Init returns Service object

func (*Client) GetTicket

func (c *Client) GetTicket(ctx context.Context, id int64) (*Link, error)

GetTicket creates PDF file, stores it in S3 and returns ID

type Link struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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