...

Package service

import "github.com/google/s2a-go/internal/fakehandshaker/service"
Overview
Index

Overview ▾

Package service is a fake S2A handshaker service.

type FakeHandshakerService

FakeHandshakerService implements the s2apb.S2AServiceServer. The fake handshaker service should not be used by more than 1 application at a time.

type FakeHandshakerService struct {
    s2apb.S2AServiceServer
    // contains filtered or unexported fields
}

func (*FakeHandshakerService) SetUpSession

func (hs *FakeHandshakerService) SetUpSession(stream s2apb.S2AService_SetUpSessionServer) error

SetUpSession sets up the S2A session.