engine

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package engine 模块名: 模块名 功能描述: 描述 作者: yr 2023/4/17 0017 23:21 最后更新: yr 2023/4/17 0017 23:21

Package engine 模块名: 模块名 功能描述: 描述 作者: yr 2023/4/17 0017 23:22 最后更新: yr 2023/4/17 0017 23:22

Package engine 模块名: 模块名 功能描述: 描述 作者: yr 2023/4/17 0017 23:22 最后更新: yr 2023/4/17 0017 23:22

Package engine 模块名: 模块名 功能描述: 描述 作者: yr 2023/4/17 0017 23:22 最后更新: yr 2023/4/17 0017 23:22navicat

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEngine

type IEngine interface {
	Init() error
	Start() error
	Stop() error
}

IEngine 这个engine其实应该是service,等下再改

type IService

type IService interface {
	IEngine
	Call(ctx context.Context, method string, args interface{}, reply interface{}) error // 这个只是个示例,具体参数和返回再定
	Send(ctx context.Context, method string, args interface{}, reply interface{}) error // 这个只是个示例,具体参数和返回再定
}

IService service的基础功能定义

type Service

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

func (*Service) Call

func (s *Service) Call() error

func (*Service) Init

func (s *Service) Init() error

func (*Service) Send

func (s *Service) Send() error

func (*Service) Start

func (s *Service) Start() error

func (*Service) Stop

func (s *Service) Stop() error

Directories

Path Synopsis
Package async 模块名: 异步回调模块 功能描述: 描述 作者: yr 2023/7/13 0013 20:25 最后更新: yr 2023/7/13 0013 20:25
Package async 模块名: 异步回调模块 功能描述: 描述 作者: yr 2023/7/13 0013 20:25 最后更新: yr 2023/7/13 0013 20:25

Jump to

Keyboard shortcuts

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