vulinbox

package
v1.2.1-sp6 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVulinServer

func NewVulinServer(ctx context.Context, port ...int) (string, error)

func NewVulinServerEx added in v1.2.2

func NewVulinServerEx(ctx context.Context, host string, ports ...int) (string, error)

Types

type VirtualYakExecServer

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

func NewVirtualYakExecServerWithMessageHandle

func NewVirtualYakExecServerWithMessageHandle(h func(result *ypb.ExecResult) error) *VirtualYakExecServer

func (*VirtualYakExecServer) Context

func (v *VirtualYakExecServer) Context() context.Context

func (*VirtualYakExecServer) RecvMsg

func (v *VirtualYakExecServer) RecvMsg(m interface{}) error

func (*VirtualYakExecServer) Send

func (v *VirtualYakExecServer) Send(result *ypb.ExecResult) error

func (*VirtualYakExecServer) SendHeader

func (v *VirtualYakExecServer) SendHeader(md grpcMetadata.MD) error

func (*VirtualYakExecServer) SendMsg

func (v *VirtualYakExecServer) SendMsg(m interface{}) error

func (*VirtualYakExecServer) SetHeader

func (v *VirtualYakExecServer) SetHeader(md grpcMetadata.MD) error

func (*VirtualYakExecServer) SetTrailer

func (v *VirtualYakExecServer) SetTrailer(md grpcMetadata.MD)

type VulinServer

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

type VulinUser

type VulinUser struct {
	gorm.Model

	Username string
	Password string
	Age      int
}

Jump to

Keyboard shortcuts

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