client

package
v0.0.0-...-a2a535d Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Opts []grpc.DialOption
	Conn *grpc.ClientConn
}

func NewClient

func NewClient() *Client

func (*Client) Close

func (c *Client) Close()

func (*Client) Connect

func (c *Client) Connect(serverAddr string) error

func (*Client) Login

func (c *Client) Login(number, pin string) (*login.ProcessId, error)

func (*Client) Positions

func (c *Client) Positions(processId string) (*portfolio.ResponsePortfolio, error)

func (*Client) SavingsPlans

func (c *Client) SavingsPlans(processId string) (*savingsplan.ResponseSavingsplan, error)

func (*Client) Status

func (c *Client) Status() error

func (*Client) Timeline

func (c *Client) Timeline(processId string) (*timeline.ResponseTimeline, error)

func (*Client) TimelineDetails

func (c *Client) TimelineDetails(processId string) (*timeline.ResponseTimelineDetails, error)

func (*Client) UpdatePositions

func (c *Client) UpdatePositions(processId string) error

func (*Client) UpdateSavingsPlans

func (c *Client) UpdateSavingsPlans(processId string) error

func (*Client) UpdateTimeline

func (c *Client) UpdateTimeline(processId string) error

func (*Client) Verify

func (c *Client) Verify(processId string, verifyCode int32) (*login.TwoFAReturn, error)

Jump to

Keyboard shortcuts

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