grpcsrv

package
v0.0.0-...-74f9a32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoServer

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

func NewInfoServer

func NewInfoServer(instr *datamanager.Instruments, api apiclient.ApiClient) *InfoServer

func (*InfoServer) Accounts

func (*InfoServer) SandboxAccounts

func (*InfoServer) SandboxPayIn

func (*InfoServer) SearchInstrument

type InfoToProtobufMapper

type InfoToProtobufMapper struct {
}

func (*InfoToProtobufMapper) MapAccounts

func (t *InfoToProtobufMapper) MapAccounts(in []*domain.Account) []*infov1.Account

func (*InfoToProtobufMapper) MapInstrument

func (t *InfoToProtobufMapper) MapInstrument(in *domain.Share) *infov1.Instrument

func (*InfoToProtobufMapper) MapInstruments

func (t *InfoToProtobufMapper) MapInstruments(in []*domain.Share) []*infov1.Instrument

func (*InfoToProtobufMapper) MapMoney

func (*InfoToProtobufMapper) MapMoneys

func (t *InfoToProtobufMapper) MapMoneys(in []*domain.MoneyValue) []*infov1.Money

type StackServer

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

func (*StackServer) Create

func (*StackServer) Delete

func (*StackServer) FuncList

func (*StackServer) Get

func (*StackServer) GetAll

func (*StackServer) Test

func (*StackServer) Update

type StrategyServer

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

func NewStrategyServer

func NewStrategyServer(se *engine.StrategyEngine) *StrategyServer

func (*StrategyServer) Create

func (*StrategyServer) Delete

func (*StrategyServer) Get

func (*StrategyServer) GetAll

func (*StrategyServer) GetLogs

func (*StrategyServer) Update

type StrategyToDomainMapper

type StrategyToDomainMapper struct {
}

func (*StrategyToDomainMapper) MapStrategy

type StrategyToProtobufMapper

type StrategyToProtobufMapper struct {
}

func (*StrategyToProtobufMapper) MapLog

func (*StrategyToProtobufMapper) MapLogs

func (*StrategyToProtobufMapper) MapStrategies

func (t *StrategyToProtobufMapper) MapStrategies(in []*domain.Strategy) []*strategyv1.Strategy

func (*StrategyToProtobufMapper) MapStrategy

type ToDomainMapper

type ToDomainMapper struct {
}

func (*ToDomainMapper) MapDecimal

func (t *ToDomainMapper) MapDecimal(in string) decimal.Decimal

func (*ToDomainMapper) MapSetArgument

func (t *ToDomainMapper) MapSetArgument(in *stackv1.SetArgument) *engine.SetArgument

func (*ToDomainMapper) MapSetItem

func (t *ToDomainMapper) MapSetItem(in *stackv1.SetItem) *engine.SetStackItem

func (*ToDomainMapper) MapSetItems

func (t *ToDomainMapper) MapSetItems(in []*stackv1.SetItem) []*engine.SetStackItem

func (*ToDomainMapper) MapSetStackFunc

func (t *ToDomainMapper) MapSetStackFunc(in *stackv1.SetStackFunc) *engine.SetStackFunc

func (*ToDomainMapper) MapValue

func (t *ToDomainMapper) MapValue(in *stackv1.Value) interface{}

func (*ToDomainMapper) MapVariable

func (t *ToDomainMapper) MapVariable(in *stackv1.Variable) *baseoption.Variable

type ToProtobufMapper

type ToProtobufMapper struct {
}

func (*ToProtobufMapper) MapArgument

func (t *ToProtobufMapper) MapArgument(in *engine.Argument) *stackv1.Argument

func (*ToProtobufMapper) MapArguments

func (t *ToProtobufMapper) MapArguments(in []*engine.Argument) []*stackv1.Argument

func (*ToProtobufMapper) MapDecimal

func (t *ToProtobufMapper) MapDecimal(in decimal.Decimal) string

func (*ToProtobufMapper) MapFuncs

func (t *ToProtobufMapper) MapFuncs(in []*engine.StackFunc) []*stackv1.StackFunc

func (*ToProtobufMapper) MapItem

func (t *ToProtobufMapper) MapItem(in *engine.StackItem) *stackv1.Item

func (*ToProtobufMapper) MapStack

func (t *ToProtobufMapper) MapStack(in *engine.Stack) *stackv1.Stack

func (*ToProtobufMapper) MapStackFunc

func (t *ToProtobufMapper) MapStackFunc(in *engine.StackFunc) *stackv1.StackFunc

func (*ToProtobufMapper) MapStacks

func (t *ToProtobufMapper) MapStacks(in []*engine.Stack) []*stackv1.Stack

func (*ToProtobufMapper) MapTestItemResult

func (t *ToProtobufMapper) MapTestItemResult(in *engine.TestItemResult) *stackv1.TestItemResult

func (*ToProtobufMapper) MapTestItemResults

func (t *ToProtobufMapper) MapTestItemResults(in []*engine.TestItemResult) []*stackv1.TestItemResult

func (*ToProtobufMapper) MapValue

func (t *ToProtobufMapper) MapValue(in interface{}) *stackv1.Value

func (*ToProtobufMapper) MapVariable

func (t *ToProtobufMapper) MapVariable(in *baseoption.Variable) *stackv1.Variable

Jump to

Keyboard shortcuts

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