service

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountService

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

func NewAccountService

func NewAccountService(system actors.ActorSystem, logger log.Logger, port int) *AccountService

NewAccountService creates an instance of AccountService

func (*AccountService) CreateAccount

CreateAccount helps create an account

func (*AccountService) CreditAccount

CreditAccount helps credit a given account

func (*AccountService) GetAccount

GetAccount helps get an account

func (*AccountService) Start

func (s *AccountService) Start()

Start starts the service

func (*AccountService) Stop

func (s *AccountService) Stop(ctx context.Context) error

Stop stops the service

Jump to

Keyboard shortcuts

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