server

package
v0.0.0-...-b32e05d Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsiteRpcServer

type WebsiteRpcServer struct {
	websiterpc.UnimplementedWebsiteRpcServer
	// contains filtered or unexported fields
}

func NewWebsiteRpcServer

func NewWebsiteRpcServer(svcCtx *svc.ServiceContext) *WebsiteRpcServer

func (*WebsiteRpcServer) AddFriend

创建友链

func (*WebsiteRpcServer) AddPage

创建页面

func (*WebsiteRpcServer) AddVisit

添加用户访问记录

func (*WebsiteRpcServer) DeleteFriend

删除友链

func (*WebsiteRpcServer) DeletePage

删除页面

func (*WebsiteRpcServer) FindFriendList

查询友链列表

func (*WebsiteRpcServer) FindPageList

查询页面列表

func (*WebsiteRpcServer) GetTouristInfo

获取游客身份

func (*WebsiteRpcServer) GetUserDailyVisit

用户日浏览量分析

func (*WebsiteRpcServer) GetUserTotalVisit

func (s *WebsiteRpcServer) GetUserTotalVisit(ctx context.Context, in *websiterpc.EmptyReq) (*websiterpc.CountResp, error)

用户总流量数

func (*WebsiteRpcServer) UpdateFriend

更新友链

func (*WebsiteRpcServer) UpdatePage

更新页面

Jump to

Keyboard shortcuts

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