Source File
	authentication_gss_continue.go
Belonging Package
	github.com/jackc/pgx/v5/pgproto3
package pgproto3import ()type AuthenticationGSSContinue struct {Data []byte}func ( *AuthenticationGSSContinue) () {}func ( *AuthenticationGSSContinue) () {}func ( *AuthenticationGSSContinue) ( []byte) error {if len() < 4 {return errors.New("authentication message too short")}:= binary.BigEndian.Uint32()if != AuthTypeGSSCont {return errors.New("bad auth type")}.Data = [4:]return nil}func ( *AuthenticationGSSContinue) ( []byte) []byte {= append(, 'R')= pgio.AppendInt32(, int32(len(.Data))+8)= pgio.AppendUint32(, AuthTypeGSSCont)= append(, .Data...)return}func ( *AuthenticationGSSContinue) () ([]byte, error) {return json.Marshal(struct {string[]byte}{: "AuthenticationGSSContinue",: .Data,})}func ( *AuthenticationGSSContinue) ( []byte) error {// Ignore null, like in the main JSON package.if string() == "null" {return nil}var struct {string[]byte}if := json.Unmarshal(, &); != nil {return}.Data = .return nil}
|  | The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |