mysqlxsession

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_Reset_KeepOpen = bool(false)
)

Default values for Reset fields.

Variables

View Source
var File_mysqlx_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthenticateContinue

type AuthenticateContinue struct {

	// * authentication data
	AuthData []byte `protobuf:"bytes,1,req,name=auth_data,json=authData" json:"auth_data,omitempty"`
	// contains filtered or unexported fields
}

* Send by client or server after an @ref Mysqlx::Session::AuthenticateStart to exchange more authentication data.

@returns Mysqlx::Session::AuthenticateContinue

func (*AuthenticateContinue) Descriptor deprecated

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

Deprecated: Use AuthenticateContinue.ProtoReflect.Descriptor instead.

func (*AuthenticateContinue) GetAuthData

func (x *AuthenticateContinue) GetAuthData() []byte

func (*AuthenticateContinue) ProtoMessage

func (*AuthenticateContinue) ProtoMessage()

func (*AuthenticateContinue) ProtoReflect

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

func (*AuthenticateContinue) Reset

func (x *AuthenticateContinue) Reset()

func (*AuthenticateContinue) String

func (x *AuthenticateContinue) String() string

type AuthenticateOk

type AuthenticateOk struct {

	// * authentication data
	AuthData []byte `protobuf:"bytes,1,opt,name=auth_data,json=authData" json:"auth_data,omitempty"`
	// contains filtered or unexported fields
}

* Sent by the server after successful authentication.

func (*AuthenticateOk) Descriptor deprecated

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

Deprecated: Use AuthenticateOk.ProtoReflect.Descriptor instead.

func (*AuthenticateOk) GetAuthData

func (x *AuthenticateOk) GetAuthData() []byte

func (*AuthenticateOk) ProtoMessage

func (*AuthenticateOk) ProtoMessage()

func (*AuthenticateOk) ProtoReflect

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

func (*AuthenticateOk) Reset

func (x *AuthenticateOk) Reset()

func (*AuthenticateOk) String

func (x *AuthenticateOk) String() string

type AuthenticateStart

type AuthenticateStart struct {

	// * authentication mechanism name
	MechName *string `protobuf:"bytes,1,req,name=mech_name,json=mechName" json:"mech_name,omitempty"`
	// * authentication data
	AuthData []byte `protobuf:"bytes,2,opt,name=auth_data,json=authData" json:"auth_data,omitempty"`
	// * initial response
	InitialResponse []byte `protobuf:"bytes,3,opt,name=initial_response,json=initialResponse" json:"initial_response,omitempty"`
	// contains filtered or unexported fields
}

* The initial message send from the client to the server to start the authentication process.

@returns @ref Mysqlx::Session::AuthenticateContinue

func (*AuthenticateStart) Descriptor deprecated

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

Deprecated: Use AuthenticateStart.ProtoReflect.Descriptor instead.

func (*AuthenticateStart) GetAuthData

func (x *AuthenticateStart) GetAuthData() []byte

func (*AuthenticateStart) GetInitialResponse

func (x *AuthenticateStart) GetInitialResponse() []byte

func (*AuthenticateStart) GetMechName

func (x *AuthenticateStart) GetMechName() string

func (*AuthenticateStart) ProtoMessage

func (*AuthenticateStart) ProtoMessage()

func (*AuthenticateStart) ProtoReflect

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

func (*AuthenticateStart) Reset

func (x *AuthenticateStart) Reset()

func (*AuthenticateStart) String

func (x *AuthenticateStart) String() string

type Close

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

* Close the current session.

@returns @ref Mysqlx::Ok

func (*Close) Descriptor deprecated

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

Deprecated: Use Close.ProtoReflect.Descriptor instead.

func (*Close) ProtoMessage

func (*Close) ProtoMessage()

func (*Close) ProtoReflect

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

func (*Close) Reset

func (x *Close) Reset()

func (*Close) String

func (x *Close) String() string

type Reset

type Reset struct {

	// * if is true the session will be reset, but stays authenticated; otherwise,
	// the session will be closed and needs to be authenticated again
	KeepOpen *bool `protobuf:"varint,1,opt,name=keep_open,json=keepOpen,def=0" json:"keep_open,omitempty"`
	// contains filtered or unexported fields
}

* Reset the current session.

@returns @ref Mysqlx::Ok

func (*Reset) Descriptor deprecated

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

Deprecated: Use Reset.ProtoReflect.Descriptor instead.

func (*Reset) GetKeepOpen

func (x *Reset) GetKeepOpen() bool

func (*Reset) ProtoMessage

func (*Reset) ProtoMessage()

func (*Reset) ProtoReflect

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

func (*Reset) Reset

func (x *Reset) Reset()

func (*Reset) String

func (x *Reset) String() string

Jump to

Keyboard shortcuts

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