Documentation ¶
Index ¶
- type Mnemosyne
- func (_m *Mnemosyne) Abandon(ctx context.Context, token string) error
- func (_m *Mnemosyne) Close() error
- func (_m *Mnemosyne) Exists(ctx context.Context, token string) (bool, error)
- func (_m *Mnemosyne) FromContext(ctx context.Context) (*mnemosynerpc.Session, error)
- func (_m *Mnemosyne) Get(ctx context.Context, token string) (*mnemosynerpc.Session, error)
- func (_m *Mnemosyne) SetValue(ctx context.Context, token string, key string, value string) (map[string]string, error)
- func (_m *Mnemosyne) Start(ctx context.Context, subjectID string, subjectClient string, ...) (*mnemosynerpc.Session, error)
- type SessionManagerClient
- func (_m *SessionManagerClient) Abandon(ctx context.Context, in *mnemosynerpc.AbandonRequest, opts ...grpc.CallOption) (*mnemosynerpc.AbandonResponse, error)
- func (_m *SessionManagerClient) Context(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*mnemosynerpc.ContextResponse, error)
- func (_m *SessionManagerClient) Delete(ctx context.Context, in *mnemosynerpc.DeleteRequest, opts ...grpc.CallOption) (*mnemosynerpc.DeleteResponse, error)
- func (_m *SessionManagerClient) Exists(ctx context.Context, in *mnemosynerpc.ExistsRequest, opts ...grpc.CallOption) (*mnemosynerpc.ExistsResponse, error)
- func (_m *SessionManagerClient) Get(ctx context.Context, in *mnemosynerpc.GetRequest, opts ...grpc.CallOption) (*mnemosynerpc.GetResponse, error)
- func (_m *SessionManagerClient) List(ctx context.Context, in *mnemosynerpc.ListRequest, opts ...grpc.CallOption) (*mnemosynerpc.ListResponse, error)
- func (_m *SessionManagerClient) SetValue(ctx context.Context, in *mnemosynerpc.SetValueRequest, opts ...grpc.CallOption) (*mnemosynerpc.SetValueResponse, error)
- func (_m *SessionManagerClient) Start(ctx context.Context, in *mnemosynerpc.StartRequest, opts ...grpc.CallOption) (*mnemosynerpc.StartResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mnemosyne ¶
func (*Mnemosyne) FromContext ¶
FromContext provides a mock function with given fields: ctx
type SessionManagerClient ¶ added in v0.2.0
func (*SessionManagerClient) Abandon ¶ added in v0.2.0
func (_m *SessionManagerClient) Abandon(ctx context.Context, in *mnemosynerpc.AbandonRequest, opts ...grpc.CallOption) (*mnemosynerpc.AbandonResponse, error)
Abandon provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) Context ¶ added in v0.2.0
func (_m *SessionManagerClient) Context(ctx context.Context, in *google_protobuf1.Empty, opts ...grpc.CallOption) (*mnemosynerpc.ContextResponse, error)
Context provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) Delete ¶ added in v0.2.0
func (_m *SessionManagerClient) Delete(ctx context.Context, in *mnemosynerpc.DeleteRequest, opts ...grpc.CallOption) (*mnemosynerpc.DeleteResponse, error)
Delete provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) Exists ¶ added in v0.2.0
func (_m *SessionManagerClient) Exists(ctx context.Context, in *mnemosynerpc.ExistsRequest, opts ...grpc.CallOption) (*mnemosynerpc.ExistsResponse, error)
Exists provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) Get ¶ added in v0.2.0
func (_m *SessionManagerClient) Get(ctx context.Context, in *mnemosynerpc.GetRequest, opts ...grpc.CallOption) (*mnemosynerpc.GetResponse, error)
Get provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) List ¶ added in v0.2.0
func (_m *SessionManagerClient) List(ctx context.Context, in *mnemosynerpc.ListRequest, opts ...grpc.CallOption) (*mnemosynerpc.ListResponse, error)
List provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) SetValue ¶ added in v0.2.0
func (_m *SessionManagerClient) SetValue(ctx context.Context, in *mnemosynerpc.SetValueRequest, opts ...grpc.CallOption) (*mnemosynerpc.SetValueResponse, error)
SetValue provides a mock function with given fields: ctx, in, opts
func (*SessionManagerClient) Start ¶ added in v0.2.0
func (_m *SessionManagerClient) Start(ctx context.Context, in *mnemosynerpc.StartRequest, opts ...grpc.CallOption) (*mnemosynerpc.StartResponse, error)
Start provides a mock function with given fields: ctx, in, opts
Click to show internal directories.
Click to hide internal directories.