1package libkb
2
3import (
4	"github.com/keybase/client/go/gregor"
5	"github.com/keybase/client/go/protocol/gregor1"
6	context "golang.org/x/net/context"
7)
8
9type nullGregorState struct {
10}
11
12func newNullGregorState() nullGregorState {
13	return nullGregorState{}
14}
15
16func (n nullGregorState) State(ctx context.Context) (gregor.State, error) {
17	return gregor1.State{}, nil
18}
19
20func (n nullGregorState) UpdateCategory(ctx context.Context, cat string, body []byte,
21	dtime gregor1.TimeOrOffset) (gregor1.MsgID, error) {
22	return gregor1.MsgID{}, nil
23}
24
25func (n nullGregorState) InjectItem(ctx context.Context, cat string, body []byte, dtime gregor1.TimeOrOffset) (gregor1.MsgID, error) {
26	return gregor1.MsgID{}, nil
27}
28
29func (n nullGregorState) DismissItem(ctx context.Context, cli gregor1.IncomingInterface,
30	id gregor.MsgID) error {
31	return nil
32}
33
34func (n nullGregorState) LocalDismissItem(ctx context.Context, id gregor.MsgID) error {
35	return nil
36}
37
38func (n nullGregorState) DismissCategory(ctx context.Context, cat gregor1.Category) error {
39	return nil
40}
41