application

package
v0.0.0-...-337a1ab Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressHexInput

type AddressHexInput struct {
	AddressHex string
}

func NewAddressHexInput

func NewAddressHexInput(addressHex string) *AddressHexInput

func (*AddressHexInput) Address

func (in *AddressHexInput) Address() domain.Address

func (*AddressHexInput) Validate

func (in *AddressHexInput) Validate() error

type AuthConfig

type AuthConfig struct {
	Secret                     string `json:"secret"`
	TokenExpiryDurationSeconds int    `json:"token_expiry_duration_seconds"`
}

func (*AuthConfig) TokenExpiryDuration

func (conf *AuthConfig) TokenExpiryDuration() time.Duration

type Config

type Config struct {
	Auth *AuthConfig `json:"auth"`
}

type Core

type Core struct {
	Config       *Config
	Services     *Services
	Repositories *Repositories
}

type Repositories

type Repositories struct {
	User user.Repository
}

type Services

type Services struct {
	Auth auth.Service
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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