controller

package
v0.0.0-...-ac70d08 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2017 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RPCServer = grpc.NewServer()
)

Functions

func ServePort

func ServePort() string

Types

type CloudAPIService

type CloudAPIService struct{}

func (*CloudAPIService) RequestRPC

func (q *CloudAPIService) RequestRPC(ctx context.Context, in *pb.CloudAPICall) (*pb.CloudAPIBack, error)

type CloudTokenService

type CloudTokenService struct{}

func (*CloudTokenService) GetRPC

func (c *CloudTokenService) GetRPC(ctx context.Context, in *pb.CloudTokenCall) (*pb.CloudTokenBack, error)

func (*CloudTokenService) SetRPC

func (c *CloudTokenService) SetRPC(ctx context.Context, in *pb.CloudTokenCall) (*pb.CloudTokenBack, error)

type UserThirdparty

type UserThirdparty struct {
	ID       string "id"
	Name     string "name"
	CloudID  string "cloudid"
	CloudKey string "cloudkey"
}

Jump to

Keyboard shortcuts

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