gomoney

package
v0.0.0-...-b59a184 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Go Money API

Go Money is a general day-to-day expenses manager.

Schemes: http
BasePath: /api/1
Version: 1.0.0

Consumes:
- application/json

Produces:
- application/json

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLogLevel

func WithLogLevel(level logger.Level) moneyOption

WithLogLevel ...

func WithLogger

func WithLogger(logger logger.ILogger) moneyOption

WithLogger ...

Types

type Money

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

Money ...

func NewMoney

func NewMoney(options ...moneyOption) (*Money, error)

NewMoney ...

func (*Money) Reconfigure

func (m *Money) Reconfigure(options ...moneyOption)

Reconfigure ...

func (*Money) Start

func (m *Money) Start() error

Start ...

func (*Money) Stop

func (m *Money) Stop() error

Stop ...

type MoneyConfig

type MoneyConfig struct {
	Log struct {
		Level string `json:"level"`
	} `json:"log"`
	Host    string             `json:"host"`
	Db      gomanager.DBConfig `json:"db"`
	Dropbox struct {
		Enabled bool `json:"enabled"`
	} `json:"dropbox"`
}

MoneyConfig ...

Jump to

Keyboard shortcuts

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