pb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_catze_proto protoreflect.FileDescriptor
View Source
var File_crawl_proto protoreflect.FileDescriptor

Functions

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)

func RegisterCatServiceServer

func RegisterCatServiceServer(s *grpc.Server, srv CatServiceServer)

func RegisterCatzeServiceServer

func RegisterCatzeServiceServer(s *grpc.Server, srv CatzeServiceServer)

func RegisterCrawlServiceServer

func RegisterCrawlServiceServer(s *grpc.Server, srv CrawlServiceServer)

Types

type AddURLRequest

type AddURLRequest struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Data     string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Status   string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Category string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*AddURLRequest) Descriptor deprecated

func (*AddURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddURLRequest.ProtoReflect.Descriptor instead.

func (*AddURLRequest) GetCategory

func (x *AddURLRequest) GetCategory() string

func (*AddURLRequest) GetData

func (x *AddURLRequest) GetData() string

func (*AddURLRequest) GetStatus

func (x *AddURLRequest) GetStatus() string

func (*AddURLRequest) GetUrl

func (x *AddURLRequest) GetUrl() string

func (*AddURLRequest) ProtoMessage

func (*AddURLRequest) ProtoMessage()

func (*AddURLRequest) ProtoReflect

func (x *AddURLRequest) ProtoReflect() protoreflect.Message

func (*AddURLRequest) Reset

func (x *AddURLRequest) Reset()

func (*AddURLRequest) String

func (x *AddURLRequest) String() string

type AddURLRequestCC

type AddURLRequestCC struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Cmodel string `protobuf:"bytes,3,opt,name=cmodel,proto3" json:"cmodel,omitempty"`
	// contains filtered or unexported fields
}

func (*AddURLRequestCC) Descriptor deprecated

func (*AddURLRequestCC) Descriptor() ([]byte, []int)

Deprecated: Use AddURLRequestCC.ProtoReflect.Descriptor instead.

func (*AddURLRequestCC) GetCmodel

func (x *AddURLRequestCC) GetCmodel() string

func (*AddURLRequestCC) GetType

func (x *AddURLRequestCC) GetType() string

func (*AddURLRequestCC) GetUrl

func (x *AddURLRequestCC) GetUrl() string

func (*AddURLRequestCC) ProtoMessage

func (*AddURLRequestCC) ProtoMessage()

func (*AddURLRequestCC) ProtoReflect

func (x *AddURLRequestCC) ProtoReflect() protoreflect.Message

func (*AddURLRequestCC) Reset

func (x *AddURLRequestCC) Reset()

func (*AddURLRequestCC) String

func (x *AddURLRequestCC) String() string

type AuthServiceClient

type AuthServiceClient interface {
	SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*User, error)
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	ChangeUserRole(ctx context.Context, in *ChangeUserRoleRequest, opts ...grpc.CallOption) (*User, error)
	GetUserRole(ctx context.Context, in *GetUserRoleRequest, opts ...grpc.CallOption) (*GetUserRoleResponse, error)
	UpdateUserPassword(ctx context.Context, in *UpdateUserPasswordRequest, opts ...grpc.CallOption) (*User, error)
	UpdateUserEmail(ctx context.Context, in *UpdateUserEmailRequest, opts ...grpc.CallOption) (*User, error)
	UpdateUserName(ctx context.Context, in *UpdateUserNameRequest, opts ...grpc.CallOption) (*User, error)
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (AuthService_ListUsersClient, error)
}

AuthServiceClient is the client API for AuthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AuthServiceServer

AuthServiceServer is the server API for AuthService service.

type AuthService_ListUsersClient

type AuthService_ListUsersClient interface {
	Recv() (*User, error)
	grpc.ClientStream
}

type AuthService_ListUsersServer

type AuthService_ListUsersServer interface {
	Send(*User) error
	grpc.ServerStream
}

type CatServiceClient

type CatServiceClient interface {
	GetCategory(ctx context.Context, in *GetCategoryRequest, opts ...grpc.CallOption) (*Category, error)
	UpdateCategory(ctx context.Context, in *UpdateCategoryRequest, opts ...grpc.CallOption) (*Category, error)
	AddURL(ctx context.Context, in *AddURLRequest, opts ...grpc.CallOption) (*Category, error)
	DeleteURL(ctx context.Context, in *DeleteURLRequest, opts ...grpc.CallOption) (*DeleteURLResponse, error)
	ReportMiscategorization(ctx context.Context, in *ReportMiscategorizationRequest, opts ...grpc.CallOption) (*Category, error)
	DeleteURLs(ctx context.Context, in *DeleteURLsRequest, opts ...grpc.CallOption) (CatService_DeleteURLsClient, error)
	ListURLs(ctx context.Context, in *ListURLsRequest, opts ...grpc.CallOption) (CatService_ListURLsClient, error)
}

CatServiceClient is the client API for CatService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCatServiceClient

func NewCatServiceClient(cc grpc.ClientConnInterface) CatServiceClient

type CatServiceServer

CatServiceServer is the server API for CatService service.

type CatService_DeleteURLsClient

type CatService_DeleteURLsClient interface {
	Recv() (*DeleteURLResponse, error)
	grpc.ClientStream
}

type CatService_DeleteURLsServer

type CatService_DeleteURLsServer interface {
	Send(*DeleteURLResponse) error
	grpc.ServerStream
}

type CatService_ListURLsClient

type CatService_ListURLsClient interface {
	Recv() (*Category, error)
	grpc.ClientStream
}

type CatService_ListURLsServer

type CatService_ListURLsServer interface {
	Send(*Category) error
	grpc.ServerStream
}

type CategorizeURLRequest

type CategorizeURLRequest struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Data   string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Cmodel string `protobuf:"bytes,3,opt,name=cmodel,proto3" json:"cmodel,omitempty"`
	// contains filtered or unexported fields
}

func (*CategorizeURLRequest) Descriptor deprecated

func (*CategorizeURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use CategorizeURLRequest.ProtoReflect.Descriptor instead.

func (*CategorizeURLRequest) GetCmodel

func (x *CategorizeURLRequest) GetCmodel() string

func (*CategorizeURLRequest) GetData

func (x *CategorizeURLRequest) GetData() string

func (*CategorizeURLRequest) GetUrl

func (x *CategorizeURLRequest) GetUrl() string

func (*CategorizeURLRequest) ProtoMessage

func (*CategorizeURLRequest) ProtoMessage()

func (*CategorizeURLRequest) ProtoReflect

func (x *CategorizeURLRequest) ProtoReflect() protoreflect.Message

func (*CategorizeURLRequest) Reset

func (x *CategorizeURLRequest) Reset()

func (*CategorizeURLRequest) String

func (x *CategorizeURLRequest) String() string

type CategorizeURLResponse

type CategorizeURLResponse struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*CategorizeURLResponse) Descriptor deprecated

func (*CategorizeURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use CategorizeURLResponse.ProtoReflect.Descriptor instead.

func (*CategorizeURLResponse) GetCategory

func (x *CategorizeURLResponse) GetCategory() string

func (*CategorizeURLResponse) GetUrl

func (x *CategorizeURLResponse) GetUrl() string

func (*CategorizeURLResponse) ProtoMessage

func (*CategorizeURLResponse) ProtoMessage()

func (*CategorizeURLResponse) ProtoReflect

func (x *CategorizeURLResponse) ProtoReflect() protoreflect.Message

func (*CategorizeURLResponse) Reset

func (x *CategorizeURLResponse) Reset()

func (*CategorizeURLResponse) String

func (x *CategorizeURLResponse) String() string

type CategorizeURLsRequest

type CategorizeURLsRequest struct {
	Urls []*CategorizeURLRequest `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	// contains filtered or unexported fields
}

func (*CategorizeURLsRequest) Descriptor deprecated

func (*CategorizeURLsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CategorizeURLsRequest.ProtoReflect.Descriptor instead.

func (*CategorizeURLsRequest) GetUrls

func (*CategorizeURLsRequest) ProtoMessage

func (*CategorizeURLsRequest) ProtoMessage()

func (*CategorizeURLsRequest) ProtoReflect

func (x *CategorizeURLsRequest) ProtoReflect() protoreflect.Message

func (*CategorizeURLsRequest) Reset

func (x *CategorizeURLsRequest) Reset()

func (*CategorizeURLsRequest) String

func (x *CategorizeURLsRequest) String() string

type Categorizer

type Categorizer struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Created  int64  `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
	Data     string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Categorizer) Descriptor deprecated

func (*Categorizer) Descriptor() ([]byte, []int)

Deprecated: Use Categorizer.ProtoReflect.Descriptor instead.

func (*Categorizer) GetCategory

func (x *Categorizer) GetCategory() string

func (*Categorizer) GetCreated

func (x *Categorizer) GetCreated() int64

func (*Categorizer) GetData

func (x *Categorizer) GetData() string

func (*Categorizer) GetId

func (x *Categorizer) GetId() string

func (*Categorizer) GetRevision

func (x *Categorizer) GetRevision() string

func (*Categorizer) GetUpdated

func (x *Categorizer) GetUpdated() int64

func (*Categorizer) GetUrl

func (x *Categorizer) GetUrl() string

func (*Categorizer) ProtoMessage

func (*Categorizer) ProtoMessage()

func (*Categorizer) ProtoReflect

func (x *Categorizer) ProtoReflect() protoreflect.Message

func (*Categorizer) Reset

func (x *Categorizer) Reset()

func (*Categorizer) String

func (x *Categorizer) String() string

type Category

type Category struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Created  int64  `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
	Data     string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

func (*Category) Descriptor() ([]byte, []int)

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetCategory

func (x *Category) GetCategory() string

func (*Category) GetCreated

func (x *Category) GetCreated() int64

func (*Category) GetData

func (x *Category) GetData() string

func (*Category) GetId

func (x *Category) GetId() string

func (*Category) GetRevision

func (x *Category) GetRevision() string

func (*Category) GetUpdated

func (x *Category) GetUpdated() int64

func (*Category) GetUrl

func (x *Category) GetUrl() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

func (x *Category) ProtoReflect() protoreflect.Message

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type CatzeServiceClient

CatzeServiceClient is the client API for CatzeService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CatzeService_CategorizeURLsClient

type CatzeService_CategorizeURLsClient interface {
	Recv() (*CategorizeURLResponse, error)
	grpc.ClientStream
}

type CatzeService_CategorizeURLsServer

type CatzeService_CategorizeURLsServer interface {
	Send(*CategorizeURLResponse) error
	grpc.ServerStream
}

type CatzeService_DeleteClassificationModelsClient

type CatzeService_DeleteClassificationModelsClient interface {
	Recv() (*DeleteClassificationModelResponse, error)
	grpc.ClientStream
}

type CatzeService_DeleteClassificationModelsServer

type CatzeService_DeleteClassificationModelsServer interface {
	Send(*DeleteClassificationModelResponse) error
	grpc.ServerStream
}

type CatzeService_ListClassificationModelsClient

type CatzeService_ListClassificationModelsClient interface {
	Recv() (*Classifier, error)
	grpc.ClientStream
}

type CatzeService_ListClassificationModelsServer

type CatzeService_ListClassificationModelsServer interface {
	Send(*Classifier) error
	grpc.ServerStream
}

type ChangeUserRoleRequest

type ChangeUserRoleRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Role  string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeUserRoleRequest) Descriptor deprecated

func (*ChangeUserRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeUserRoleRequest.ProtoReflect.Descriptor instead.

func (*ChangeUserRoleRequest) GetEmail

func (x *ChangeUserRoleRequest) GetEmail() string

func (*ChangeUserRoleRequest) GetRole

func (x *ChangeUserRoleRequest) GetRole() string

func (*ChangeUserRoleRequest) ProtoMessage

func (*ChangeUserRoleRequest) ProtoMessage()

func (*ChangeUserRoleRequest) ProtoReflect

func (x *ChangeUserRoleRequest) ProtoReflect() protoreflect.Message

func (*ChangeUserRoleRequest) Reset

func (x *ChangeUserRoleRequest) Reset()

func (*ChangeUserRoleRequest) String

func (x *ChangeUserRoleRequest) String() string

type ClassificationModel

type ClassificationModel struct {
	Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
	Data  string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ClassificationModel) Descriptor deprecated

func (*ClassificationModel) Descriptor() ([]byte, []int)

Deprecated: Use ClassificationModel.ProtoReflect.Descriptor instead.

func (*ClassificationModel) GetClass

func (x *ClassificationModel) GetClass() string

func (*ClassificationModel) GetData

func (x *ClassificationModel) GetData() string

func (*ClassificationModel) ProtoMessage

func (*ClassificationModel) ProtoMessage()

func (*ClassificationModel) ProtoReflect

func (x *ClassificationModel) ProtoReflect() protoreflect.Message

func (*ClassificationModel) Reset

func (x *ClassificationModel) Reset()

func (*ClassificationModel) String

func (x *ClassificationModel) String() string

type Classifier

type Classifier struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Created  int64  `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
	Data     string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Classifier) Descriptor deprecated

func (*Classifier) Descriptor() ([]byte, []int)

Deprecated: Use Classifier.ProtoReflect.Descriptor instead.

func (*Classifier) GetCategory

func (x *Classifier) GetCategory() string

func (*Classifier) GetCreated

func (x *Classifier) GetCreated() int64

func (*Classifier) GetData

func (x *Classifier) GetData() string

func (*Classifier) GetId

func (x *Classifier) GetId() string

func (*Classifier) GetName

func (x *Classifier) GetName() string

func (*Classifier) GetRevision

func (x *Classifier) GetRevision() string

func (*Classifier) GetUpdated

func (x *Classifier) GetUpdated() int64

func (*Classifier) ProtoMessage

func (*Classifier) ProtoMessage()

func (*Classifier) ProtoReflect

func (x *Classifier) ProtoReflect() protoreflect.Message

func (*Classifier) Reset

func (x *Classifier) Reset()

func (*Classifier) String

func (x *Classifier) String() string

type CrawlRequest

type CrawlRequest struct {

	// UserAgent is the User-Agent string used by HTTP requests
	UserAgent string `protobuf:"bytes,1,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
	// MaxDepth limits the recursion depth of visited URLs.
	// Set it to 0 for infinite recursion (default).
	MaxDepth int64 `protobuf:"varint,2,opt,name=maxDepth,proto3" json:"maxDepth,omitempty"`
	// AllowedDomains is a domain whitelist.
	// Leave it blank to allow any domains to be visited
	AllowedDomains []string `protobuf:"bytes,3,rep,name=allowedDomains,proto3" json:"allowedDomains,omitempty"`
	// DisallowedDomains is a domain blacklist.
	DisallowedDomains []string `protobuf:"bytes,4,rep,name=disallowedDomains,proto3" json:"disallowedDomains,omitempty"`
	// DisallowedURLFilters is a list of regular expressions which restricts
	// visiting URLs. If any of the rules matches to a URL the
	// request will be stopped. DisallowedURLFilters will
	// be evaluated before URLFilters
	// Leave it blank to allow any URLs to be visited
	DisallowedUrlFilters []string `protobuf:"bytes,5,rep,name=disallowedUrlFilters,proto3" json:"disallowedUrlFilters,omitempty"`
	// URLFilters is a list of regular expressions which restricts
	// visiting URLs. If any of the rules matches to a URL the
	// request won't be stopped. DisallowedURLFilters will
	// be evaluated before URLFilters
	// Leave it blank to allow any URLs to be visited
	UrlFilters []string `protobuf:"bytes,6,rep,name=urlFilters,proto3" json:"urlFilters,omitempty"`
	// URLRevisit allows multiple downloads of the same URL
	UrlRevisit bool `protobuf:"varint,7,opt,name=urlRevisit,proto3" json:"urlRevisit,omitempty"`
	// MaxBodySize is the limit of the retrieved response body in bytes.
	// 0 means unlimited.
	// The default value for MaxBodySize is 10MB (10 * 1024 * 1024 bytes).
	MaxBodySize int64 `protobuf:"varint,8,opt,name=maxBodySize,proto3" json:"maxBodySize,omitempty"`
	// robotsTxt allows the Collector to ignore any restrictions set by
	// the target host's robots.txt file.  See http://www.robotstxt.org/ for more
	// information.
	RobotsTxt bool `protobuf:"varint,9,opt,name=robotsTxt,proto3" json:"robotsTxt,omitempty"`
	// contains filtered or unexported fields
}

func (*CrawlRequest) Descriptor deprecated

func (*CrawlRequest) Descriptor() ([]byte, []int)

Deprecated: Use CrawlRequest.ProtoReflect.Descriptor instead.

func (*CrawlRequest) GetAllowedDomains

func (x *CrawlRequest) GetAllowedDomains() []string

func (*CrawlRequest) GetDisallowedDomains

func (x *CrawlRequest) GetDisallowedDomains() []string

func (*CrawlRequest) GetDisallowedUrlFilters

func (x *CrawlRequest) GetDisallowedUrlFilters() []string

func (*CrawlRequest) GetMaxBodySize

func (x *CrawlRequest) GetMaxBodySize() int64

func (*CrawlRequest) GetMaxDepth

func (x *CrawlRequest) GetMaxDepth() int64

func (*CrawlRequest) GetRobotsTxt

func (x *CrawlRequest) GetRobotsTxt() bool

func (*CrawlRequest) GetUrlFilters

func (x *CrawlRequest) GetUrlFilters() []string

func (*CrawlRequest) GetUrlRevisit

func (x *CrawlRequest) GetUrlRevisit() bool

func (*CrawlRequest) GetUserAgent

func (x *CrawlRequest) GetUserAgent() string

func (*CrawlRequest) ProtoMessage

func (*CrawlRequest) ProtoMessage()

func (*CrawlRequest) ProtoReflect

func (x *CrawlRequest) ProtoReflect() protoreflect.Message

func (*CrawlRequest) Reset

func (x *CrawlRequest) Reset()

func (*CrawlRequest) String

func (x *CrawlRequest) String() string

type CrawlServiceClient

type CrawlServiceClient interface {
	GetURLData(ctx context.Context, in *GetURLDataRequest, opts ...grpc.CallOption) (*GetURLDataResponse, error)
	GetURLsData(ctx context.Context, in *GetURLsDataRequest, opts ...grpc.CallOption) (CrawlService_GetURLsDataClient, error)
	CrawlURL(ctx context.Context, in *CrawlURLRequest, opts ...grpc.CallOption) (*CrawlURLResponse, error)
	CrawlURLs(ctx context.Context, in *CrawlURLsRequest, opts ...grpc.CallOption) (CrawlService_CrawlURLsClient, error)
}

CrawlServiceClient is the client API for CrawlService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CrawlServiceServer

CrawlServiceServer is the server API for CrawlService service.

type CrawlService_CrawlURLsClient

type CrawlService_CrawlURLsClient interface {
	Recv() (*CrawlURLResponse, error)
	grpc.ClientStream
}

type CrawlService_CrawlURLsServer

type CrawlService_CrawlURLsServer interface {
	Send(*CrawlURLResponse) error
	grpc.ServerStream
}

type CrawlService_GetURLsDataClient

type CrawlService_GetURLsDataClient interface {
	Recv() (*GetURLDataResponse, error)
	grpc.ClientStream
}

type CrawlService_GetURLsDataServer

type CrawlService_GetURLsDataServer interface {
	Send(*GetURLDataResponse) error
	grpc.ServerStream
}

type CrawlURLRequest

type CrawlURLRequest struct {
	Url          string        `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	CrawlRequest *CrawlRequest `protobuf:"bytes,2,opt,name=crawlRequest,proto3" json:"crawlRequest,omitempty"`
	// contains filtered or unexported fields
}

func (*CrawlURLRequest) Descriptor deprecated

func (*CrawlURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use CrawlURLRequest.ProtoReflect.Descriptor instead.

func (*CrawlURLRequest) GetCrawlRequest

func (x *CrawlURLRequest) GetCrawlRequest() *CrawlRequest

func (*CrawlURLRequest) GetUrl

func (x *CrawlURLRequest) GetUrl() string

func (*CrawlURLRequest) ProtoMessage

func (*CrawlURLRequest) ProtoMessage()

func (*CrawlURLRequest) ProtoReflect

func (x *CrawlURLRequest) ProtoReflect() protoreflect.Message

func (*CrawlURLRequest) Reset

func (x *CrawlURLRequest) Reset()

func (*CrawlURLRequest) String

func (x *CrawlURLRequest) String() string

type CrawlURLResponse

type CrawlURLResponse struct {
	Url   string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Links []string `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*CrawlURLResponse) Descriptor deprecated

func (*CrawlURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use CrawlURLResponse.ProtoReflect.Descriptor instead.

func (x *CrawlURLResponse) GetLinks() []string

func (*CrawlURLResponse) GetUrl

func (x *CrawlURLResponse) GetUrl() string

func (*CrawlURLResponse) ProtoMessage

func (*CrawlURLResponse) ProtoMessage()

func (*CrawlURLResponse) ProtoReflect

func (x *CrawlURLResponse) ProtoReflect() protoreflect.Message

func (*CrawlURLResponse) Reset

func (x *CrawlURLResponse) Reset()

func (*CrawlURLResponse) String

func (x *CrawlURLResponse) String() string

type CrawlURLsRequest

type CrawlURLsRequest struct {
	Urls         []string      `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	CrawlRequest *CrawlRequest `protobuf:"bytes,2,opt,name=crawlRequest,proto3" json:"crawlRequest,omitempty"`
	// contains filtered or unexported fields
}

func (*CrawlURLsRequest) Descriptor deprecated

func (*CrawlURLsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CrawlURLsRequest.ProtoReflect.Descriptor instead.

func (*CrawlURLsRequest) GetCrawlRequest

func (x *CrawlURLsRequest) GetCrawlRequest() *CrawlRequest

func (*CrawlURLsRequest) GetUrls

func (x *CrawlURLsRequest) GetUrls() []string

func (*CrawlURLsRequest) ProtoMessage

func (*CrawlURLsRequest) ProtoMessage()

func (*CrawlURLsRequest) ProtoReflect

func (x *CrawlURLsRequest) ProtoReflect() protoreflect.Message

func (*CrawlURLsRequest) Reset

func (x *CrawlURLsRequest) Reset()

func (*CrawlURLsRequest) String

func (x *CrawlURLsRequest) String() string

type Crawler

type Crawler struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	Created  int64  `protobuf:"varint,4,opt,name=created,proto3" json:"created,omitempty"`
	Updated  int64  `protobuf:"varint,5,opt,name=updated,proto3" json:"updated,omitempty"`
	Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"`
	Data     string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Crawler) Descriptor deprecated

func (*Crawler) Descriptor() ([]byte, []int)

Deprecated: Use Crawler.ProtoReflect.Descriptor instead.

func (*Crawler) GetCategory

func (x *Crawler) GetCategory() string

func (*Crawler) GetCreated

func (x *Crawler) GetCreated() int64

func (*Crawler) GetData

func (x *Crawler) GetData() string

func (*Crawler) GetId

func (x *Crawler) GetId() string

func (*Crawler) GetRevision

func (x *Crawler) GetRevision() string

func (*Crawler) GetUpdated

func (x *Crawler) GetUpdated() int64

func (*Crawler) GetUrl

func (x *Crawler) GetUrl() string

func (*Crawler) ProtoMessage

func (*Crawler) ProtoMessage()

func (*Crawler) ProtoReflect

func (x *Crawler) ProtoReflect() protoreflect.Message

func (*Crawler) Reset

func (x *Crawler) Reset()

func (*Crawler) String

func (x *Crawler) String() string

type DeleteClassificationModelRequest

type DeleteClassificationModelRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClassificationModelRequest) Descriptor deprecated

func (*DeleteClassificationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClassificationModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteClassificationModelRequest) GetName

func (*DeleteClassificationModelRequest) ProtoMessage

func (*DeleteClassificationModelRequest) ProtoMessage()

func (*DeleteClassificationModelRequest) ProtoReflect

func (*DeleteClassificationModelRequest) Reset

func (*DeleteClassificationModelRequest) String

type DeleteClassificationModelResponse

type DeleteClassificationModelResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClassificationModelResponse) Descriptor deprecated

func (*DeleteClassificationModelResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClassificationModelResponse.ProtoReflect.Descriptor instead.

func (*DeleteClassificationModelResponse) GetName

func (*DeleteClassificationModelResponse) ProtoMessage

func (*DeleteClassificationModelResponse) ProtoMessage()

func (*DeleteClassificationModelResponse) ProtoReflect

func (*DeleteClassificationModelResponse) Reset

func (*DeleteClassificationModelResponse) String

type DeleteClassificationModelsRequest

type DeleteClassificationModelsRequest struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClassificationModelsRequest) Descriptor deprecated

func (*DeleteClassificationModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClassificationModelsRequest.ProtoReflect.Descriptor instead.

func (*DeleteClassificationModelsRequest) GetNames

func (x *DeleteClassificationModelsRequest) GetNames() []string

func (*DeleteClassificationModelsRequest) ProtoMessage

func (*DeleteClassificationModelsRequest) ProtoMessage()

func (*DeleteClassificationModelsRequest) ProtoReflect

func (*DeleteClassificationModelsRequest) Reset

func (*DeleteClassificationModelsRequest) String

type DeleteURLRequest

type DeleteURLRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteURLRequest) Descriptor deprecated

func (*DeleteURLRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteURLRequest.ProtoReflect.Descriptor instead.

func (*DeleteURLRequest) GetUrl

func (x *DeleteURLRequest) GetUrl() string

func (*DeleteURLRequest) ProtoMessage

func (*DeleteURLRequest) ProtoMessage()

func (*DeleteURLRequest) ProtoReflect

func (x *DeleteURLRequest) ProtoReflect() protoreflect.Message

func (*DeleteURLRequest) Reset

func (x *DeleteURLRequest) Reset()

func (*DeleteURLRequest) String

func (x *DeleteURLRequest) String() string

type DeleteURLResponse

type DeleteURLResponse struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteURLResponse) Descriptor deprecated

func (*DeleteURLResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteURLResponse.ProtoReflect.Descriptor instead.

func (*DeleteURLResponse) GetUrl

func (x *DeleteURLResponse) GetUrl() string

func (*DeleteURLResponse) ProtoMessage

func (*DeleteURLResponse) ProtoMessage()

func (*DeleteURLResponse) ProtoReflect

func (x *DeleteURLResponse) ProtoReflect() protoreflect.Message

func (*DeleteURLResponse) Reset

func (x *DeleteURLResponse) Reset()

func (*DeleteURLResponse) String

func (x *DeleteURLResponse) String() string

type DeleteURLsRequest

type DeleteURLsRequest struct {
	Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteURLsRequest) Descriptor deprecated

func (*DeleteURLsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteURLsRequest.ProtoReflect.Descriptor instead.

func (*DeleteURLsRequest) GetUrls

func (x *DeleteURLsRequest) GetUrls() []string

func (*DeleteURLsRequest) ProtoMessage

func (*DeleteURLsRequest) ProtoMessage()

func (*DeleteURLsRequest) ProtoReflect

func (x *DeleteURLsRequest) ProtoReflect() protoreflect.Message

func (*DeleteURLsRequest) Reset

func (x *DeleteURLsRequest) Reset()

func (*DeleteURLsRequest) String

func (x *DeleteURLsRequest) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetEmail

func (x *DeleteUserRequest) GetEmail() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetEmail

func (x *DeleteUserResponse) GetEmail() string

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type GenerateClassificationModelRequest

type GenerateClassificationModelRequest struct {
	Category string                 `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
	Model    []*ClassificationModel `protobuf:"bytes,2,rep,name=model,proto3" json:"model,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateClassificationModelRequest) Descriptor deprecated

func (*GenerateClassificationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateClassificationModelRequest.ProtoReflect.Descriptor instead.

func (*GenerateClassificationModelRequest) GetCategory

func (x *GenerateClassificationModelRequest) GetCategory() string

func (*GenerateClassificationModelRequest) GetModel

func (*GenerateClassificationModelRequest) ProtoMessage

func (*GenerateClassificationModelRequest) ProtoMessage()

func (*GenerateClassificationModelRequest) ProtoReflect

func (*GenerateClassificationModelRequest) Reset

func (*GenerateClassificationModelRequest) String

type GetCategoryRequest

type GetCategoryRequest struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoryRequest) Descriptor deprecated

func (*GetCategoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCategoryRequest.ProtoReflect.Descriptor instead.

func (*GetCategoryRequest) GetUrl

func (x *GetCategoryRequest) GetUrl() string

func (*GetCategoryRequest) ProtoMessage

func (*GetCategoryRequest) ProtoMessage()

func (*GetCategoryRequest) ProtoReflect

func (x *GetCategoryRequest) ProtoReflect() protoreflect.Message

func (*GetCategoryRequest) Reset

func (x *GetCategoryRequest) Reset()

func (*GetCategoryRequest) String

func (x *GetCategoryRequest) String() string

type GetClassificationModelRequest

type GetClassificationModelRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClassificationModelRequest) Descriptor deprecated

func (*GetClassificationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClassificationModelRequest.ProtoReflect.Descriptor instead.

func (*GetClassificationModelRequest) GetName

func (*GetClassificationModelRequest) ProtoMessage

func (*GetClassificationModelRequest) ProtoMessage()

func (*GetClassificationModelRequest) ProtoReflect

func (*GetClassificationModelRequest) Reset

func (x *GetClassificationModelRequest) Reset()

func (*GetClassificationModelRequest) String

type GetURLDataRequest

type GetURLDataRequest struct {
	Url  string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetURLDataRequest) Descriptor deprecated

func (*GetURLDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetURLDataRequest.ProtoReflect.Descriptor instead.

func (*GetURLDataRequest) GetType

func (x *GetURLDataRequest) GetType() string

func (*GetURLDataRequest) GetUrl

func (x *GetURLDataRequest) GetUrl() string

func (*GetURLDataRequest) ProtoMessage

func (*GetURLDataRequest) ProtoMessage()

func (*GetURLDataRequest) ProtoReflect

func (x *GetURLDataRequest) ProtoReflect() protoreflect.Message

func (*GetURLDataRequest) Reset

func (x *GetURLDataRequest) Reset()

func (*GetURLDataRequest) String

func (x *GetURLDataRequest) String() string

type GetURLDataResponse

type GetURLDataResponse struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Data   string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetURLDataResponse) Descriptor deprecated

func (*GetURLDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetURLDataResponse.ProtoReflect.Descriptor instead.

func (*GetURLDataResponse) GetData

func (x *GetURLDataResponse) GetData() string

func (*GetURLDataResponse) GetStatus

func (x *GetURLDataResponse) GetStatus() string

func (*GetURLDataResponse) GetUrl

func (x *GetURLDataResponse) GetUrl() string

func (*GetURLDataResponse) ProtoMessage

func (*GetURLDataResponse) ProtoMessage()

func (*GetURLDataResponse) ProtoReflect

func (x *GetURLDataResponse) ProtoReflect() protoreflect.Message

func (*GetURLDataResponse) Reset

func (x *GetURLDataResponse) Reset()

func (*GetURLDataResponse) String

func (x *GetURLDataResponse) String() string

type GetURLsDataRequest

type GetURLsDataRequest struct {
	GetURLsDataRequest []*GetURLDataRequest `protobuf:"bytes,1,rep,name=getURLsDataRequest,proto3" json:"getURLsDataRequest,omitempty"`
	// contains filtered or unexported fields
}

func (*GetURLsDataRequest) Descriptor deprecated

func (*GetURLsDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetURLsDataRequest.ProtoReflect.Descriptor instead.

func (*GetURLsDataRequest) GetGetURLsDataRequest

func (x *GetURLsDataRequest) GetGetURLsDataRequest() []*GetURLDataRequest

func (*GetURLsDataRequest) ProtoMessage

func (*GetURLsDataRequest) ProtoMessage()

func (*GetURLsDataRequest) ProtoReflect

func (x *GetURLsDataRequest) ProtoReflect() protoreflect.Message

func (*GetURLsDataRequest) Reset

func (x *GetURLsDataRequest) Reset()

func (*GetURLsDataRequest) String

func (x *GetURLsDataRequest) String() string

type GetUserRequest

type GetUserRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

func (*GetUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetEmail

func (x *GetUserRequest) GetEmail() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

func (x *GetUserRequest) ProtoReflect() protoreflect.Message

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GetUserRoleRequest

type GetUserRoleRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRoleRequest) Descriptor deprecated

func (*GetUserRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRoleRequest.ProtoReflect.Descriptor instead.

func (*GetUserRoleRequest) GetId

func (x *GetUserRoleRequest) GetId() string

func (*GetUserRoleRequest) ProtoMessage

func (*GetUserRoleRequest) ProtoMessage()

func (*GetUserRoleRequest) ProtoReflect

func (x *GetUserRoleRequest) ProtoReflect() protoreflect.Message

func (*GetUserRoleRequest) Reset

func (x *GetUserRoleRequest) Reset()

func (*GetUserRoleRequest) String

func (x *GetUserRoleRequest) String() string

type GetUserRoleResponse

type GetUserRoleResponse struct {
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRoleResponse) Descriptor deprecated

func (*GetUserRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserRoleResponse.ProtoReflect.Descriptor instead.

func (*GetUserRoleResponse) GetRole

func (x *GetUserRoleResponse) GetRole() string

func (*GetUserRoleResponse) ProtoMessage

func (*GetUserRoleResponse) ProtoMessage()

func (*GetUserRoleResponse) ProtoReflect

func (x *GetUserRoleResponse) ProtoReflect() protoreflect.Message

func (*GetUserRoleResponse) Reset

func (x *GetUserRoleResponse) Reset()

func (*GetUserRoleResponse) String

func (x *GetUserRoleResponse) String() string

type ListClassificationModelsRequest

type ListClassificationModelsRequest struct {
	Categories []string `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	Count      string   `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClassificationModelsRequest) Descriptor deprecated

func (*ListClassificationModelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClassificationModelsRequest.ProtoReflect.Descriptor instead.

func (*ListClassificationModelsRequest) GetCategories

func (x *ListClassificationModelsRequest) GetCategories() []string

func (*ListClassificationModelsRequest) GetCount

func (*ListClassificationModelsRequest) ProtoMessage

func (*ListClassificationModelsRequest) ProtoMessage()

func (*ListClassificationModelsRequest) ProtoReflect

func (*ListClassificationModelsRequest) Reset

func (*ListClassificationModelsRequest) String

type ListURLsRequest

type ListURLsRequest struct {
	Categories []string `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
	Count      string   `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*ListURLsRequest) Descriptor deprecated

func (*ListURLsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListURLsRequest.ProtoReflect.Descriptor instead.

func (*ListURLsRequest) GetCategories

func (x *ListURLsRequest) GetCategories() []string

func (*ListURLsRequest) GetCount

func (x *ListURLsRequest) GetCount() string

func (*ListURLsRequest) ProtoMessage

func (*ListURLsRequest) ProtoMessage()

func (*ListURLsRequest) ProtoReflect

func (x *ListURLsRequest) ProtoReflect() protoreflect.Message

func (*ListURLsRequest) Reset

func (x *ListURLsRequest) Reset()

func (*ListURLsRequest) String

func (x *ListURLsRequest) String() string

type ListUsersRequest

type ListUsersRequest struct {
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

func (*ListUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

func (x *ListUsersRequest) ProtoReflect() protoreflect.Message

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ReportMiscategorizationRequest

type ReportMiscategorizationRequest struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Data     string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportMiscategorizationRequest) Descriptor deprecated

func (*ReportMiscategorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportMiscategorizationRequest.ProtoReflect.Descriptor instead.

func (*ReportMiscategorizationRequest) GetCategory

func (x *ReportMiscategorizationRequest) GetCategory() string

func (*ReportMiscategorizationRequest) GetData

func (*ReportMiscategorizationRequest) GetUrl

func (*ReportMiscategorizationRequest) ProtoMessage

func (*ReportMiscategorizationRequest) ProtoMessage()

func (*ReportMiscategorizationRequest) ProtoReflect

func (*ReportMiscategorizationRequest) Reset

func (x *ReportMiscategorizationRequest) Reset()

func (*ReportMiscategorizationRequest) String

type ReportURLRequestCC

type ReportURLRequestCC struct {
	Url    string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Cmodel string `protobuf:"bytes,3,opt,name=cmodel,proto3" json:"cmodel,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportURLRequestCC) Descriptor deprecated

func (*ReportURLRequestCC) Descriptor() ([]byte, []int)

Deprecated: Use ReportURLRequestCC.ProtoReflect.Descriptor instead.

func (*ReportURLRequestCC) GetCmodel

func (x *ReportURLRequestCC) GetCmodel() string

func (*ReportURLRequestCC) GetType

func (x *ReportURLRequestCC) GetType() string

func (*ReportURLRequestCC) GetUrl

func (x *ReportURLRequestCC) GetUrl() string

func (*ReportURLRequestCC) ProtoMessage

func (*ReportURLRequestCC) ProtoMessage()

func (*ReportURLRequestCC) ProtoReflect

func (x *ReportURLRequestCC) ProtoReflect() protoreflect.Message

func (*ReportURLRequestCC) Reset

func (x *ReportURLRequestCC) Reset()

func (*ReportURLRequestCC) String

func (x *ReportURLRequestCC) String() string

type SignInRequest

type SignInRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated

func (*SignInRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetEmail

func (x *SignInRequest) GetEmail() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect

func (x *SignInRequest) ProtoReflect() protoreflect.Message

func (*SignInRequest) Reset

func (x *SignInRequest) Reset()

func (*SignInRequest) String

func (x *SignInRequest) String() string

type SignInResponse

type SignInResponse struct {
	User  *User  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInResponse) Descriptor deprecated

func (*SignInResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetToken

func (x *SignInResponse) GetToken() string

func (*SignInResponse) GetUser

func (x *SignInResponse) GetUser() *User

func (*SignInResponse) ProtoMessage

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect

func (x *SignInResponse) ProtoReflect() protoreflect.Message

func (*SignInResponse) Reset

func (x *SignInResponse) Reset()

func (*SignInResponse) String

func (x *SignInResponse) String() string

type SignUpRequest

type SignUpRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Email    string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpRequest) Descriptor deprecated

func (*SignUpRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetEmail

func (x *SignUpRequest) GetEmail() string

func (*SignUpRequest) GetName

func (x *SignUpRequest) GetName() string

func (*SignUpRequest) GetPassword

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) ProtoMessage

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect

func (x *SignUpRequest) ProtoReflect() protoreflect.Message

func (*SignUpRequest) Reset

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String

func (x *SignUpRequest) String() string

type UnimplementedAuthServiceServer

type UnimplementedAuthServiceServer struct {
}

UnimplementedAuthServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedAuthServiceServer) ChangeUserRole

func (*UnimplementedAuthServiceServer) DeleteUser

func (*UnimplementedAuthServiceServer) GetUser

func (*UnimplementedAuthServiceServer) GetUserRole

func (*UnimplementedAuthServiceServer) ListUsers

func (*UnimplementedAuthServiceServer) SignIn

func (*UnimplementedAuthServiceServer) SignUp

func (*UnimplementedAuthServiceServer) UpdateUserEmail

func (*UnimplementedAuthServiceServer) UpdateUserName

func (*UnimplementedAuthServiceServer) UpdateUserPassword

type UnimplementedCatServiceServer

type UnimplementedCatServiceServer struct {
}

UnimplementedCatServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCatServiceServer) AddURL

func (*UnimplementedCatServiceServer) DeleteURL

func (*UnimplementedCatServiceServer) DeleteURLs

func (*UnimplementedCatServiceServer) GetCategory

func (*UnimplementedCatServiceServer) ListURLs

func (*UnimplementedCatServiceServer) ReportMiscategorization

func (*UnimplementedCatServiceServer) UpdateCategory

type UnimplementedCatzeServiceServer

type UnimplementedCatzeServiceServer struct {
}

UnimplementedCatzeServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCatzeServiceServer) CategorizeURL

func (*UnimplementedCatzeServiceServer) CategorizeURLs

func (*UnimplementedCatzeServiceServer) GenerateClassificationModel

func (*UnimplementedCatzeServiceServer) GetClassificationModel

func (*UnimplementedCatzeServiceServer) UpdateClassificationModel

type UnimplementedCrawlServiceServer

type UnimplementedCrawlServiceServer struct {
}

UnimplementedCrawlServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedCrawlServiceServer) CrawlURL

func (*UnimplementedCrawlServiceServer) CrawlURLs

func (*UnimplementedCrawlServiceServer) GetURLData

func (*UnimplementedCrawlServiceServer) GetURLsData

type UpdateCategoryRequest

type UpdateCategoryRequest struct {
	Url      string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCategoryRequest) Descriptor deprecated

func (*UpdateCategoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCategoryRequest.ProtoReflect.Descriptor instead.

func (*UpdateCategoryRequest) GetCategory

func (x *UpdateCategoryRequest) GetCategory() string

func (*UpdateCategoryRequest) GetUrl

func (x *UpdateCategoryRequest) GetUrl() string

func (*UpdateCategoryRequest) ProtoMessage

func (*UpdateCategoryRequest) ProtoMessage()

func (*UpdateCategoryRequest) ProtoReflect

func (x *UpdateCategoryRequest) ProtoReflect() protoreflect.Message

func (*UpdateCategoryRequest) Reset

func (x *UpdateCategoryRequest) Reset()

func (*UpdateCategoryRequest) String

func (x *UpdateCategoryRequest) String() string

type UpdateClassificationModelRequest

type UpdateClassificationModelRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClassificationModelRequest) Descriptor deprecated

func (*UpdateClassificationModelRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClassificationModelRequest.ProtoReflect.Descriptor instead.

func (*UpdateClassificationModelRequest) GetCategory

func (x *UpdateClassificationModelRequest) GetCategory() string

func (*UpdateClassificationModelRequest) GetName

func (*UpdateClassificationModelRequest) ProtoMessage

func (*UpdateClassificationModelRequest) ProtoMessage()

func (*UpdateClassificationModelRequest) ProtoReflect

func (*UpdateClassificationModelRequest) Reset

func (*UpdateClassificationModelRequest) String

type UpdateUserEmailRequest

type UpdateUserEmailRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	NewEmail string `protobuf:"bytes,2,opt,name=newEmail,proto3" json:"newEmail,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserEmailRequest) Descriptor deprecated

func (*UpdateUserEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserEmailRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserEmailRequest) GetEmail

func (x *UpdateUserEmailRequest) GetEmail() string

func (*UpdateUserEmailRequest) GetNewEmail

func (x *UpdateUserEmailRequest) GetNewEmail() string

func (*UpdateUserEmailRequest) GetPassword

func (x *UpdateUserEmailRequest) GetPassword() string

func (*UpdateUserEmailRequest) ProtoMessage

func (*UpdateUserEmailRequest) ProtoMessage()

func (*UpdateUserEmailRequest) ProtoReflect

func (x *UpdateUserEmailRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserEmailRequest) Reset

func (x *UpdateUserEmailRequest) Reset()

func (*UpdateUserEmailRequest) String

func (x *UpdateUserEmailRequest) String() string

type UpdateUserNameRequest

type UpdateUserNameRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserNameRequest) Descriptor deprecated

func (*UpdateUserNameRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserNameRequest) GetEmail

func (x *UpdateUserNameRequest) GetEmail() string

func (*UpdateUserNameRequest) GetName

func (x *UpdateUserNameRequest) GetName() string

func (*UpdateUserNameRequest) GetPassword

func (x *UpdateUserNameRequest) GetPassword() string

func (*UpdateUserNameRequest) ProtoMessage

func (*UpdateUserNameRequest) ProtoMessage()

func (*UpdateUserNameRequest) ProtoReflect

func (x *UpdateUserNameRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserNameRequest) Reset

func (x *UpdateUserNameRequest) Reset()

func (*UpdateUserNameRequest) String

func (x *UpdateUserNameRequest) String() string

type UpdateUserPasswordRequest

type UpdateUserPasswordRequest struct {
	Email       string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserPasswordRequest) Descriptor deprecated

func (*UpdateUserPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserPasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserPasswordRequest) GetEmail

func (x *UpdateUserPasswordRequest) GetEmail() string

func (*UpdateUserPasswordRequest) GetNewPassword

func (x *UpdateUserPasswordRequest) GetNewPassword() string

func (*UpdateUserPasswordRequest) GetPassword

func (x *UpdateUserPasswordRequest) GetPassword() string

func (*UpdateUserPasswordRequest) ProtoMessage

func (*UpdateUserPasswordRequest) ProtoMessage()

func (*UpdateUserPasswordRequest) ProtoReflect

func (*UpdateUserPasswordRequest) Reset

func (x *UpdateUserPasswordRequest) Reset()

func (*UpdateUserPasswordRequest) String

func (x *UpdateUserPasswordRequest) String() string

type User

type User struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Email   string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Role    string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	Created int64  `protobuf:"varint,5,opt,name=created,proto3" json:"created,omitempty"`
	Updated int64  `protobuf:"varint,6,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreated

func (x *User) GetCreated() int64

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) GetRole

func (x *User) GetRole() string

func (*User) GetUpdated

func (x *User) GetUpdated() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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