dto

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.1.1

type Client struct {
	Id string `dynamodbav:"client_id"`
}

func (Client) ToModel added in v0.1.1

func (c Client) ToModel() *model.Client

type Secrets added in v0.1.1

type Secrets struct {
	Host     string `json:"host"`
	Port     int    `json:"port"`
	User     string `json:"user"`
	Password string `json:"password"`
	DbName   string `json:"db_name"`
}

type Ticker

type Ticker struct {
	Symbol string `json:"symbol"`
	Price  string `json:"price"`
}

func (Ticker) GetPrice

func (t Ticker) GetPrice() (float64, error)

Jump to

Keyboard shortcuts

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