client

package
v0.1.86 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type LoginManager

type LoginManager struct{}

func (*LoginManager) GetGateWayToken

func (lm *LoginManager) GetGateWayToken(ctx context.Context, in *pb.Empty) (*pb.Token, error)

rpc GetGateWayToken (Empty) returns (Token) {}

func (*LoginManager) GetOpenIoTHubToken

func (lm *LoginManager) GetOpenIoTHubToken(ctx context.Context, in *pb.Empty) (*pb.Token, error)

rpc GetOpenIoTHubToken (Empty) returns (Token) {}

func (*LoginManager) LoginServerByServerInfo

func (lm *LoginManager) LoginServerByServerInfo(ctx context.Context, in *pb.ServerInfo) (*pb.LoginResponse, error)

rpc LoginServerByServerInfo (ServerInfo) returns (LoginResponse) {}

func (*LoginManager) LoginServerByToken

func (lm *LoginManager) LoginServerByToken(ctx context.Context, in *pb.Token) (*pb.LoginResponse, error)

rpc LoginServerByToken (Token) returns (LoginResponse) {}

Jump to

Keyboard shortcuts

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