Documentation ¶
Index ¶
- func Run()
- type LoginManager
- func (lm *LoginManager) GetGateWayToken(ctx context.Context, in *pb.Empty) (*pb.Token, error)
- func (lm *LoginManager) GetOpenIoTHubToken(ctx context.Context, in *pb.Empty) (*pb.Token, error)
- func (lm *LoginManager) LoginServerByServerInfo(ctx context.Context, in *pb.ServerInfo) (*pb.LoginResponse, error)
- func (lm *LoginManager) LoginServerByToken(ctx context.Context, in *pb.Token) (*pb.LoginResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) {}
Click to show internal directories.
Click to hide internal directories.