host

package
v0.0.0-...-5d74809 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddHostLogic

type AddHostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddHostLogic

func NewAddHostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddHostLogic

func (*AddHostLogic) AddHost

func (l *AddHostLogic) AddHost(req *types.AddHostReq) (resp *types.AddHostResp, err error)

type EditHostLogic

type EditHostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewEditHostLogic

func NewEditHostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *EditHostLogic

func (*EditHostLogic) EditHost

func (l *EditHostLogic) EditHost(req *types.EditHostReq) (resp *types.EditHostResp, err error)

type HostsLogic

type HostsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewHostsLogic

func NewHostsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HostsLogic

func (*HostsLogic) Hosts

func (l *HostsLogic) Hosts(req *types.ListHostReq) (resp *types.ListHostResp, err error)

type WsLogic

type WsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewWsLogic

func NewWsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WsLogic

func (*WsLogic) Ws

func (l *WsLogic) Ws(req *types.GetWSReq) (resp *types.GetWSResp, err error)

Jump to

Keyboard shortcuts

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