Versions in this module Expand all Collapse all v1 v1.2.1 Mar 6, 2021 Changes in this version + var CSPType_name = map[int32]string + var CSPType_value = map[string]int32 + func RegisterControllerServiceServer(s *grpc.Server, srv ControllerServiceServer) + func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer) + type AddCSPReply struct + Code int32 + Data *CSPInfo + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddCSPReply) Descriptor() ([]byte, []int) + func (*AddCSPReply) ProtoMessage() + func (m *AddCSPReply) GetCode() int32 + func (m *AddCSPReply) GetData() *CSPInfo + func (m *AddCSPReply) GetMessage() string + func (m *AddCSPReply) Reset() + func (m *AddCSPReply) String() string + func (m *AddCSPReply) XXX_DiscardUnknown() + func (m *AddCSPReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddCSPReply) XXX_Merge(src proto.Message) + func (m *AddCSPReply) XXX_Size() int + func (m *AddCSPReply) XXX_Unmarshal(b []byte) error + type AddCSPReq struct + AccessKey string + AccessSecret string + CspType CSPType + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddCSPReq) Descriptor() ([]byte, []int) + func (*AddCSPReq) ProtoMessage() + func (m *AddCSPReq) GetAccessKey() string + func (m *AddCSPReq) GetAccessSecret() string + func (m *AddCSPReq) GetCspType() CSPType + func (m *AddCSPReq) GetUserId() string + func (m *AddCSPReq) Reset() + func (m *AddCSPReq) String() string + func (m *AddCSPReq) XXX_DiscardUnknown() + func (m *AddCSPReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddCSPReq) XXX_Merge(src proto.Message) + func (m *AddCSPReq) XXX_Size() int + func (m *AddCSPReq) XXX_Unmarshal(b []byte) error + type AddEdgeReply struct + Code int32 + Data *EdgeInfo + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddEdgeReply) Descriptor() ([]byte, []int) + func (*AddEdgeReply) ProtoMessage() + func (m *AddEdgeReply) GetCode() int32 + func (m *AddEdgeReply) GetData() *EdgeInfo + func (m *AddEdgeReply) GetMessage() string + func (m *AddEdgeReply) Reset() + func (m *AddEdgeReply) String() string + func (m *AddEdgeReply) XXX_DiscardUnknown() + func (m *AddEdgeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddEdgeReply) XXX_Merge(src proto.Message) + func (m *AddEdgeReply) XXX_Size() int + func (m *AddEdgeReply) XXX_Unmarshal(b []byte) error + type AddEdgeReq struct + Cidr string + Comment string + CspType CSPType + Name string + PublicIP string + PublicPort int32 + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddEdgeReq) Descriptor() ([]byte, []int) + func (*AddEdgeReq) ProtoMessage() + func (m *AddEdgeReq) GetCidr() string + func (m *AddEdgeReq) GetComment() string + func (m *AddEdgeReq) GetCspType() CSPType + func (m *AddEdgeReq) GetName() string + func (m *AddEdgeReq) GetPublicIP() string + func (m *AddEdgeReq) GetPublicPort() int32 + func (m *AddEdgeReq) GetUserId() string + func (m *AddEdgeReq) Reset() + func (m *AddEdgeReq) String() string + func (m *AddEdgeReq) XXX_DiscardUnknown() + func (m *AddEdgeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddEdgeReq) XXX_Merge(src proto.Message) + func (m *AddEdgeReq) XXX_Size() int + func (m *AddEdgeReq) XXX_Unmarshal(b []byte) error + type AddRouteReply struct + Code int32 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddRouteReply) Descriptor() ([]byte, []int) + func (*AddRouteReply) ProtoMessage() + func (m *AddRouteReply) GetCode() int32 + func (m *AddRouteReply) GetMessage() string + func (m *AddRouteReply) Reset() + func (m *AddRouteReply) String() string + func (m *AddRouteReply) XXX_DiscardUnknown() + func (m *AddRouteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddRouteReply) XXX_Merge(src proto.Message) + func (m *AddRouteReply) XXX_Size() int + func (m *AddRouteReply) XXX_Unmarshal(b []byte) error + type AddRouteReq struct + Cidr string + EdgeId string + Name string + Nexthop string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddRouteReq) Descriptor() ([]byte, []int) + func (*AddRouteReq) ProtoMessage() + func (m *AddRouteReq) GetCidr() string + func (m *AddRouteReq) GetEdgeId() string + func (m *AddRouteReq) GetName() string + func (m *AddRouteReq) GetNexthop() string + func (m *AddRouteReq) GetUserId() string + func (m *AddRouteReq) Reset() + func (m *AddRouteReq) String() string + func (m *AddRouteReq) XXX_DiscardUnknown() + func (m *AddRouteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddRouteReq) XXX_Merge(src proto.Message) + func (m *AddRouteReq) XXX_Size() int + func (m *AddRouteReq) XXX_Unmarshal(b []byte) error + type AddUserReply struct + Code int32 + Message string + UserInfo *UserInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddUserReply) Descriptor() ([]byte, []int) + func (*AddUserReply) ProtoMessage() + func (m *AddUserReply) GetCode() int32 + func (m *AddUserReply) GetMessage() string + func (m *AddUserReply) GetUserInfo() *UserInfo + func (m *AddUserReply) Reset() + func (m *AddUserReply) String() string + func (m *AddUserReply) XXX_DiscardUnknown() + func (m *AddUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddUserReply) XXX_Merge(src proto.Message) + func (m *AddUserReply) XXX_Size() int + func (m *AddUserReply) XXX_Unmarshal(b []byte) error + type AddUserReq struct + About string + Email string + Password string + UserName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddUserReq) Descriptor() ([]byte, []int) + func (*AddUserReq) ProtoMessage() + func (m *AddUserReq) GetAbout() string + func (m *AddUserReq) GetEmail() string + func (m *AddUserReq) GetPassword() string + func (m *AddUserReq) GetUserName() string + func (m *AddUserReq) Reset() + func (m *AddUserReq) String() string + func (m *AddUserReq) XXX_DiscardUnknown() + func (m *AddUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddUserReq) XXX_Merge(src proto.Message) + func (m *AddUserReq) XXX_Size() int + func (m *AddUserReq) XXX_Unmarshal(b []byte) error + type AuthorizeReply struct + Code int32 + Data *AuthorizeReplyBody + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthorizeReply) Descriptor() ([]byte, []int) + func (*AuthorizeReply) ProtoMessage() + func (m *AuthorizeReply) GetCode() int32 + func (m *AuthorizeReply) GetData() *AuthorizeReplyBody + func (m *AuthorizeReply) GetMessage() string + func (m *AuthorizeReply) Reset() + func (m *AuthorizeReply) String() string + func (m *AuthorizeReply) XXX_DiscardUnknown() + func (m *AuthorizeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthorizeReply) XXX_Merge(src proto.Message) + func (m *AuthorizeReply) XXX_Size() int + func (m *AuthorizeReply) XXX_Unmarshal(b []byte) error + type AuthorizeReplyBody struct + ExpiredIn int64 + Token string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthorizeReplyBody) Descriptor() ([]byte, []int) + func (*AuthorizeReplyBody) ProtoMessage() + func (m *AuthorizeReplyBody) GetExpiredIn() int64 + func (m *AuthorizeReplyBody) GetToken() string + func (m *AuthorizeReplyBody) GetUserId() string + func (m *AuthorizeReplyBody) Reset() + func (m *AuthorizeReplyBody) String() string + func (m *AuthorizeReplyBody) XXX_DiscardUnknown() + func (m *AuthorizeReplyBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthorizeReplyBody) XXX_Merge(src proto.Message) + func (m *AuthorizeReplyBody) XXX_Size() int + func (m *AuthorizeReplyBody) XXX_Unmarshal(b []byte) error + type AuthorizeReq struct + Password string + Username string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AuthorizeReq) Descriptor() ([]byte, []int) + func (*AuthorizeReq) ProtoMessage() + func (m *AuthorizeReq) GetPassword() string + func (m *AuthorizeReq) GetUsername() string + func (m *AuthorizeReq) Reset() + func (m *AuthorizeReq) String() string + func (m *AuthorizeReq) XXX_DiscardUnknown() + func (m *AuthorizeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AuthorizeReq) XXX_Merge(src proto.Message) + func (m *AuthorizeReq) XXX_Size() int + func (m *AuthorizeReq) XXX_Unmarshal(b []byte) error + type CSPInfo struct + AccessKey string + AccessSecret string + CspType CSPType + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CSPInfo) Descriptor() ([]byte, []int) + func (*CSPInfo) ProtoMessage() + func (m *CSPInfo) GetAccessKey() string + func (m *CSPInfo) GetAccessSecret() string + func (m *CSPInfo) GetCspType() CSPType + func (m *CSPInfo) Reset() + func (m *CSPInfo) String() string + func (m *CSPInfo) XXX_DiscardUnknown() + func (m *CSPInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CSPInfo) XXX_Merge(src proto.Message) + func (m *CSPInfo) XXX_Size() int + func (m *CSPInfo) XXX_Unmarshal(b []byte) error + type CSPType int32 + const CSPType_ALI + const CSPType_AWS + const CSPType_NONE + const CSPType_QQ + func (CSPType) EnumDescriptor() ([]byte, []int) + func (x CSPType) String() string + type ControllerServiceClient interface + AddCSP func(ctx context.Context, in *AddCSPReq, opts ...grpc.CallOption) (*AddCSPReply, error) + AddEdge func(ctx context.Context, in *AddEdgeReq, opts ...grpc.CallOption) (*AddEdgeReply, error) + AddRoute func(ctx context.Context, in *AddRouteReq, opts ...grpc.CallOption) (*AddRouteReply, error) + DelCSP func(ctx context.Context, in *DelCSPReq, opts ...grpc.CallOption) (*DelCSPReply, error) + DelEdge func(ctx context.Context, in *DelEdgeReq, opts ...grpc.CallOption) (*DelEdgeReply, error) + DelRoute func(ctx context.Context, in *DelRouteReq, opts ...grpc.CallOption) (*DelRouteReply, error) + GetCSPList func(ctx context.Context, in *GetCSPListReq, opts ...grpc.CallOption) (*GetCSPListReply, error) + GetEdgeList func(ctx context.Context, in *GetEdgeListReq, opts ...grpc.CallOption) (*GetEdgeListReply, error) + GetStat func(ctx context.Context, in *GetStatReq, opts ...grpc.CallOption) (*GetStatReply, error) + GetUserRoutes func(ctx context.Context, in *GetUserRoutesReq, opts ...grpc.CallOption) (*GetUserRoutesReply, error) + func NewControllerServiceClient(cc *grpc.ClientConn) ControllerServiceClient + type ControllerServiceServer interface + AddCSP func(context.Context, *AddCSPReq) (*AddCSPReply, error) + AddEdge func(context.Context, *AddEdgeReq) (*AddEdgeReply, error) + AddRoute func(context.Context, *AddRouteReq) (*AddRouteReply, error) + DelCSP func(context.Context, *DelCSPReq) (*DelCSPReply, error) + DelEdge func(context.Context, *DelEdgeReq) (*DelEdgeReply, error) + DelRoute func(context.Context, *DelRouteReq) (*DelRouteReply, error) + GetCSPList func(context.Context, *GetCSPListReq) (*GetCSPListReply, error) + GetEdgeList func(context.Context, *GetEdgeListReq) (*GetEdgeListReply, error) + GetStat func(context.Context, *GetStatReq) (*GetStatReply, error) + GetUserRoutes func(context.Context, *GetUserRoutesReq) (*GetUserRoutesReply, error) + type DelCSPReply struct + Code int32 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelCSPReply) Descriptor() ([]byte, []int) + func (*DelCSPReply) ProtoMessage() + func (m *DelCSPReply) GetCode() int32 + func (m *DelCSPReply) GetMessage() string + func (m *DelCSPReply) Reset() + func (m *DelCSPReply) String() string + func (m *DelCSPReply) XXX_DiscardUnknown() + func (m *DelCSPReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelCSPReply) XXX_Merge(src proto.Message) + func (m *DelCSPReply) XXX_Size() int + func (m *DelCSPReply) XXX_Unmarshal(b []byte) error + type DelCSPReq struct + CspType CSPType + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelCSPReq) Descriptor() ([]byte, []int) + func (*DelCSPReq) ProtoMessage() + func (m *DelCSPReq) GetCspType() CSPType + func (m *DelCSPReq) GetUserId() string + func (m *DelCSPReq) Reset() + func (m *DelCSPReq) String() string + func (m *DelCSPReq) XXX_DiscardUnknown() + func (m *DelCSPReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelCSPReq) XXX_Merge(src proto.Message) + func (m *DelCSPReq) XXX_Size() int + func (m *DelCSPReq) XXX_Unmarshal(b []byte) error + type DelEdgeReply struct + Code int32 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelEdgeReply) Descriptor() ([]byte, []int) + func (*DelEdgeReply) ProtoMessage() + func (m *DelEdgeReply) GetCode() int32 + func (m *DelEdgeReply) GetMessage() string + func (m *DelEdgeReply) Reset() + func (m *DelEdgeReply) String() string + func (m *DelEdgeReply) XXX_DiscardUnknown() + func (m *DelEdgeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelEdgeReply) XXX_Merge(src proto.Message) + func (m *DelEdgeReply) XXX_Size() int + func (m *DelEdgeReply) XXX_Unmarshal(b []byte) error + type DelEdgeReq struct + EdgeName string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelEdgeReq) Descriptor() ([]byte, []int) + func (*DelEdgeReq) ProtoMessage() + func (m *DelEdgeReq) GetEdgeName() string + func (m *DelEdgeReq) GetUserId() string + func (m *DelEdgeReq) Reset() + func (m *DelEdgeReq) String() string + func (m *DelEdgeReq) XXX_DiscardUnknown() + func (m *DelEdgeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelEdgeReq) XXX_Merge(src proto.Message) + func (m *DelEdgeReq) XXX_Size() int + func (m *DelEdgeReq) XXX_Unmarshal(b []byte) error + type DelRouteReply struct + Code int32 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelRouteReply) Descriptor() ([]byte, []int) + func (*DelRouteReply) ProtoMessage() + func (m *DelRouteReply) GetCode() int32 + func (m *DelRouteReply) GetMessage() string + func (m *DelRouteReply) Reset() + func (m *DelRouteReply) String() string + func (m *DelRouteReply) XXX_DiscardUnknown() + func (m *DelRouteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelRouteReply) XXX_Merge(src proto.Message) + func (m *DelRouteReply) XXX_Size() int + func (m *DelRouteReply) XXX_Unmarshal(b []byte) error + type DelRouteReq struct + Id string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*DelRouteReq) Descriptor() ([]byte, []int) + func (*DelRouteReq) ProtoMessage() + func (m *DelRouteReq) GetId() string + func (m *DelRouteReq) GetUserId() string + func (m *DelRouteReq) Reset() + func (m *DelRouteReq) String() string + func (m *DelRouteReq) XXX_DiscardUnknown() + func (m *DelRouteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DelRouteReq) XXX_Merge(src proto.Message) + func (m *DelRouteReq) XXX_Size() int + func (m *DelRouteReq) XXX_Unmarshal(b []byte) error + type EdgeInfo struct + ActiveAt int64 + Cidr string + Comment string + CspType CSPType + Name string + PublicIP string + PublicPort int32 + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EdgeInfo) Descriptor() ([]byte, []int) + func (*EdgeInfo) ProtoMessage() + func (m *EdgeInfo) GetActiveAt() int64 + func (m *EdgeInfo) GetCidr() string + func (m *EdgeInfo) GetComment() string + func (m *EdgeInfo) GetCspType() CSPType + func (m *EdgeInfo) GetName() string + func (m *EdgeInfo) GetPublicIP() string + func (m *EdgeInfo) GetPublicPort() int32 + func (m *EdgeInfo) GetUserId() string + func (m *EdgeInfo) Reset() + func (m *EdgeInfo) String() string + func (m *EdgeInfo) XXX_DiscardUnknown() + func (m *EdgeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EdgeInfo) XXX_Merge(src proto.Message) + func (m *EdgeInfo) XXX_Size() int + func (m *EdgeInfo) XXX_Unmarshal(b []byte) error + type GetCSPListReply struct + Code int32 + CspInfo []*CSPInfo + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetCSPListReply) Descriptor() ([]byte, []int) + func (*GetCSPListReply) ProtoMessage() + func (m *GetCSPListReply) GetCode() int32 + func (m *GetCSPListReply) GetCspInfo() []*CSPInfo + func (m *GetCSPListReply) GetMessage() string + func (m *GetCSPListReply) Reset() + func (m *GetCSPListReply) String() string + func (m *GetCSPListReply) XXX_DiscardUnknown() + func (m *GetCSPListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetCSPListReply) XXX_Merge(src proto.Message) + func (m *GetCSPListReply) XXX_Size() int + func (m *GetCSPListReply) XXX_Unmarshal(b []byte) error + type GetCSPListReq struct + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetCSPListReq) Descriptor() ([]byte, []int) + func (*GetCSPListReq) ProtoMessage() + func (m *GetCSPListReq) GetUserId() string + func (m *GetCSPListReq) Reset() + func (m *GetCSPListReq) String() string + func (m *GetCSPListReq) XXX_DiscardUnknown() + func (m *GetCSPListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetCSPListReq) XXX_Merge(src proto.Message) + func (m *GetCSPListReq) XXX_Size() int + func (m *GetCSPListReq) XXX_Unmarshal(b []byte) error + type GetEdgeListReply struct + Code int32 + Edges []*EdgeInfo + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetEdgeListReply) Descriptor() ([]byte, []int) + func (*GetEdgeListReply) ProtoMessage() + func (m *GetEdgeListReply) GetCode() int32 + func (m *GetEdgeListReply) GetEdges() []*EdgeInfo + func (m *GetEdgeListReply) GetMessage() string + func (m *GetEdgeListReply) Reset() + func (m *GetEdgeListReply) String() string + func (m *GetEdgeListReply) XXX_DiscardUnknown() + func (m *GetEdgeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetEdgeListReply) XXX_Merge(src proto.Message) + func (m *GetEdgeListReply) XXX_Size() int + func (m *GetEdgeListReply) XXX_Unmarshal(b []byte) error + type GetEdgeListReq struct + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetEdgeListReq) Descriptor() ([]byte, []int) + func (*GetEdgeListReq) ProtoMessage() + func (m *GetEdgeListReq) GetUserId() string + func (m *GetEdgeListReq) Reset() + func (m *GetEdgeListReq) String() string + func (m *GetEdgeListReq) XXX_DiscardUnknown() + func (m *GetEdgeListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetEdgeListReq) XXX_Merge(src proto.Message) + func (m *GetEdgeListReq) XXX_Size() int + func (m *GetEdgeListReq) XXX_Unmarshal(b []byte) error + type GetStatReply struct + Code int32 + Message string + Stats []*Stat + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStatReply) Descriptor() ([]byte, []int) + func (*GetStatReply) ProtoMessage() + func (m *GetStatReply) GetCode() int32 + func (m *GetStatReply) GetMessage() string + func (m *GetStatReply) GetStats() []*Stat + func (m *GetStatReply) Reset() + func (m *GetStatReply) String() string + func (m *GetStatReply) XXX_DiscardUnknown() + func (m *GetStatReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStatReply) XXX_Merge(src proto.Message) + func (m *GetStatReply) XXX_Size() int + func (m *GetStatReply) XXX_Unmarshal(b []byte) error + type GetStatReq struct + Count int32 + Direction int32 + EdgeName string + From int64 + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStatReq) Descriptor() ([]byte, []int) + func (*GetStatReq) ProtoMessage() + func (m *GetStatReq) GetCount() int32 + func (m *GetStatReq) GetDirection() int32 + func (m *GetStatReq) GetEdgeName() string + func (m *GetStatReq) GetFrom() int64 + func (m *GetStatReq) GetUserId() string + func (m *GetStatReq) Reset() + func (m *GetStatReq) String() string + func (m *GetStatReq) XXX_DiscardUnknown() + func (m *GetStatReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStatReq) XXX_Merge(src proto.Message) + func (m *GetStatReq) XXX_Size() int + func (m *GetStatReq) XXX_Unmarshal(b []byte) error + type GetUserBySecretReply struct + Code int32 + Message string + UserInfo *UserInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserBySecretReply) Descriptor() ([]byte, []int) + func (*GetUserBySecretReply) ProtoMessage() + func (m *GetUserBySecretReply) GetCode() int32 + func (m *GetUserBySecretReply) GetMessage() string + func (m *GetUserBySecretReply) GetUserInfo() *UserInfo + func (m *GetUserBySecretReply) Reset() + func (m *GetUserBySecretReply) String() string + func (m *GetUserBySecretReply) XXX_DiscardUnknown() + func (m *GetUserBySecretReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserBySecretReply) XXX_Merge(src proto.Message) + func (m *GetUserBySecretReply) XXX_Size() int + func (m *GetUserBySecretReply) XXX_Unmarshal(b []byte) error + type GetUserBySecretReq struct + Secret string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserBySecretReq) Descriptor() ([]byte, []int) + func (*GetUserBySecretReq) ProtoMessage() + func (m *GetUserBySecretReq) GetSecret() string + func (m *GetUserBySecretReq) Reset() + func (m *GetUserBySecretReq) String() string + func (m *GetUserBySecretReq) XXX_DiscardUnknown() + func (m *GetUserBySecretReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserBySecretReq) XXX_Merge(src proto.Message) + func (m *GetUserBySecretReq) XXX_Size() int + func (m *GetUserBySecretReq) XXX_Unmarshal(b []byte) error + type GetUserByTokenReply struct + Code int32 + Data *UserInfo + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserByTokenReply) Descriptor() ([]byte, []int) + func (*GetUserByTokenReply) ProtoMessage() + func (m *GetUserByTokenReply) GetCode() int32 + func (m *GetUserByTokenReply) GetData() *UserInfo + func (m *GetUserByTokenReply) GetMessage() string + func (m *GetUserByTokenReply) Reset() + func (m *GetUserByTokenReply) String() string + func (m *GetUserByTokenReply) XXX_DiscardUnknown() + func (m *GetUserByTokenReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserByTokenReply) XXX_Merge(src proto.Message) + func (m *GetUserByTokenReply) XXX_Size() int + func (m *GetUserByTokenReply) XXX_Unmarshal(b []byte) error + type GetUserByTokenReq struct + Token string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserByTokenReq) Descriptor() ([]byte, []int) + func (*GetUserByTokenReq) ProtoMessage() + func (m *GetUserByTokenReq) GetToken() string + func (m *GetUserByTokenReq) Reset() + func (m *GetUserByTokenReq) String() string + func (m *GetUserByTokenReq) XXX_DiscardUnknown() + func (m *GetUserByTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserByTokenReq) XXX_Merge(src proto.Message) + func (m *GetUserByTokenReq) XXX_Size() int + func (m *GetUserByTokenReq) XXX_Unmarshal(b []byte) error + type GetUserInfoReply struct + Code int32 + Message string + UserInfo *UserInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserInfoReply) Descriptor() ([]byte, []int) + func (*GetUserInfoReply) ProtoMessage() + func (m *GetUserInfoReply) GetCode() int32 + func (m *GetUserInfoReply) GetMessage() string + func (m *GetUserInfoReply) GetUserInfo() *UserInfo + func (m *GetUserInfoReply) Reset() + func (m *GetUserInfoReply) String() string + func (m *GetUserInfoReply) XXX_DiscardUnknown() + func (m *GetUserInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserInfoReply) XXX_Merge(src proto.Message) + func (m *GetUserInfoReply) XXX_Size() int + func (m *GetUserInfoReply) XXX_Unmarshal(b []byte) error + type GetUserInfoReq struct + Password string + UserName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserInfoReq) Descriptor() ([]byte, []int) + func (*GetUserInfoReq) ProtoMessage() + func (m *GetUserInfoReq) GetPassword() string + func (m *GetUserInfoReq) GetUserName() string + func (m *GetUserInfoReq) Reset() + func (m *GetUserInfoReq) String() string + func (m *GetUserInfoReq) XXX_DiscardUnknown() + func (m *GetUserInfoReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserInfoReq) XXX_Merge(src proto.Message) + func (m *GetUserInfoReq) XXX_Size() int + func (m *GetUserInfoReq) XXX_Unmarshal(b []byte) error + type GetUserRoutesReply struct + Code int32 + Message string + Routes []*Route + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserRoutesReply) Descriptor() ([]byte, []int) + func (*GetUserRoutesReply) ProtoMessage() + func (m *GetUserRoutesReply) GetCode() int32 + func (m *GetUserRoutesReply) GetMessage() string + func (m *GetUserRoutesReply) GetRoutes() []*Route + func (m *GetUserRoutesReply) Reset() + func (m *GetUserRoutesReply) String() string + func (m *GetUserRoutesReply) XXX_DiscardUnknown() + func (m *GetUserRoutesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserRoutesReply) XXX_Merge(src proto.Message) + func (m *GetUserRoutesReply) XXX_Size() int + func (m *GetUserRoutesReply) XXX_Unmarshal(b []byte) error + type GetUserRoutesReq struct + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetUserRoutesReq) Descriptor() ([]byte, []int) + func (*GetUserRoutesReq) ProtoMessage() + func (m *GetUserRoutesReq) GetUserId() string + func (m *GetUserRoutesReq) Reset() + func (m *GetUserRoutesReq) String() string + func (m *GetUserRoutesReq) XXX_DiscardUnknown() + func (m *GetUserRoutesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetUserRoutesReq) XXX_Merge(src proto.Message) + func (m *GetUserRoutesReq) XXX_Size() int + func (m *GetUserRoutesReq) XXX_Unmarshal(b []byte) error + type Route struct + Cidr string + Nexthop string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Route) Descriptor() ([]byte, []int) + func (*Route) ProtoMessage() + func (m *Route) GetCidr() string + func (m *Route) GetNexthop() string + func (m *Route) Reset() + func (m *Route) String() string + func (m *Route) XXX_DiscardUnknown() + func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Route) XXX_Merge(src proto.Message) + func (m *Route) XXX_Size() int + func (m *Route) XXX_Unmarshal(b []byte) error + type Stat struct + Cpu int64 + EdgeName string + Mem int64 + Timestamp int64 + TrafficIn int64 + TrafficOut int64 + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Stat) Descriptor() ([]byte, []int) + func (*Stat) ProtoMessage() + func (m *Stat) GetCpu() int64 + func (m *Stat) GetEdgeName() string + func (m *Stat) GetMem() int64 + func (m *Stat) GetTimestamp() int64 + func (m *Stat) GetTrafficIn() int64 + func (m *Stat) GetTrafficOut() int64 + func (m *Stat) GetUserId() string + func (m *Stat) Reset() + func (m *Stat) String() string + func (m *Stat) XXX_DiscardUnknown() + func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Stat) XXX_Merge(src proto.Message) + func (m *Stat) XXX_Size() int + func (m *Stat) XXX_Unmarshal(b []byte) error + type UnimplementedControllerServiceServer struct + func (*UnimplementedControllerServiceServer) AddCSP(ctx context.Context, req *AddCSPReq) (*AddCSPReply, error) + func (*UnimplementedControllerServiceServer) AddEdge(ctx context.Context, req *AddEdgeReq) (*AddEdgeReply, error) + func (*UnimplementedControllerServiceServer) AddRoute(ctx context.Context, req *AddRouteReq) (*AddRouteReply, error) + func (*UnimplementedControllerServiceServer) DelCSP(ctx context.Context, req *DelCSPReq) (*DelCSPReply, error) + func (*UnimplementedControllerServiceServer) DelEdge(ctx context.Context, req *DelEdgeReq) (*DelEdgeReply, error) + func (*UnimplementedControllerServiceServer) DelRoute(ctx context.Context, req *DelRouteReq) (*DelRouteReply, error) + func (*UnimplementedControllerServiceServer) GetCSPList(ctx context.Context, req *GetCSPListReq) (*GetCSPListReply, error) + func (*UnimplementedControllerServiceServer) GetEdgeList(ctx context.Context, req *GetEdgeListReq) (*GetEdgeListReply, error) + func (*UnimplementedControllerServiceServer) GetStat(ctx context.Context, req *GetStatReq) (*GetStatReply, error) + func (*UnimplementedControllerServiceServer) GetUserRoutes(ctx context.Context, req *GetUserRoutesReq) (*GetUserRoutesReply, error) + type UnimplementedUserServiceServer struct + func (*UnimplementedUserServiceServer) AddUser(ctx context.Context, req *AddUserReq) (*AddUserReply, error) + func (*UnimplementedUserServiceServer) Authorize(ctx context.Context, req *AuthorizeReq) (*AuthorizeReply, error) + func (*UnimplementedUserServiceServer) GetUserBySecret(ctx context.Context, req *GetUserBySecretReq) (*GetUserBySecretReply, error) + func (*UnimplementedUserServiceServer) GetUserByToken(ctx context.Context, req *GetUserByTokenReq) (*GetUserByTokenReply, error) + func (*UnimplementedUserServiceServer) GetUserInfo(ctx context.Context, req *GetUserInfoReq) (*GetUserInfoReply, error) + type UserInfo struct + About string + CreatedAt int64 + UserEmail string + UserId string + UserName string + UserSecret string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UserInfo) Descriptor() ([]byte, []int) + func (*UserInfo) ProtoMessage() + func (m *UserInfo) GetAbout() string + func (m *UserInfo) GetCreatedAt() int64 + func (m *UserInfo) GetUserEmail() string + func (m *UserInfo) GetUserId() string + func (m *UserInfo) GetUserName() string + func (m *UserInfo) GetUserSecret() string + func (m *UserInfo) Reset() + func (m *UserInfo) String() string + func (m *UserInfo) XXX_DiscardUnknown() + func (m *UserInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UserInfo) XXX_Merge(src proto.Message) + func (m *UserInfo) XXX_Size() int + func (m *UserInfo) XXX_Unmarshal(b []byte) error + type UserServiceClient interface + AddUser func(ctx context.Context, in *AddUserReq, opts ...grpc.CallOption) (*AddUserReply, error) + Authorize func(ctx context.Context, in *AuthorizeReq, opts ...grpc.CallOption) (*AuthorizeReply, error) + GetUserBySecret func(ctx context.Context, in *GetUserBySecretReq, opts ...grpc.CallOption) (*GetUserBySecretReply, error) + GetUserByToken func(ctx context.Context, in *GetUserByTokenReq, opts ...grpc.CallOption) (*GetUserByTokenReply, error) + GetUserInfo func(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoReply, error) + func NewUserServiceClient(cc *grpc.ClientConn) UserServiceClient + type UserServiceServer interface + AddUser func(context.Context, *AddUserReq) (*AddUserReply, error) + Authorize func(context.Context, *AuthorizeReq) (*AuthorizeReply, error) + GetUserBySecret func(context.Context, *GetUserBySecretReq) (*GetUserBySecretReply, error) + GetUserByToken func(context.Context, *GetUserByTokenReq) (*GetUserByTokenReply, error) + GetUserInfo func(context.Context, *GetUserInfoReq) (*GetUserInfoReply, error)