mnemosynerpc

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSessionManagerServer added in v0.2.0

func RegisterSessionManagerServer(s *grpc.Server, srv SessionManagerServer)

Types

type AbandonRequest

type AbandonRequest struct {
	AccessToken          string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AbandonRequest) Descriptor

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

func (*AbandonRequest) GetAccessToken

func (m *AbandonRequest) GetAccessToken() string

func (*AbandonRequest) ProtoMessage

func (*AbandonRequest) ProtoMessage()

func (*AbandonRequest) Reset

func (m *AbandonRequest) Reset()

func (*AbandonRequest) String

func (m *AbandonRequest) String() string

func (*AbandonRequest) XXX_DiscardUnknown added in v0.15.0

func (m *AbandonRequest) XXX_DiscardUnknown()

func (*AbandonRequest) XXX_Marshal added in v0.15.0

func (m *AbandonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AbandonRequest) XXX_Merge added in v0.15.0

func (dst *AbandonRequest) XXX_Merge(src proto.Message)

func (*AbandonRequest) XXX_Size added in v0.15.0

func (m *AbandonRequest) XXX_Size() int

func (*AbandonRequest) XXX_Unmarshal added in v0.15.0

func (m *AbandonRequest) XXX_Unmarshal(b []byte) error

type ContextResponse

type ContextResponse struct {
	Session              *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContextResponse) Descriptor

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

func (*ContextResponse) GetSession

func (m *ContextResponse) GetSession() *Session

func (*ContextResponse) ProtoMessage

func (*ContextResponse) ProtoMessage()

func (*ContextResponse) Reset

func (m *ContextResponse) Reset()

func (*ContextResponse) String

func (m *ContextResponse) String() string

func (*ContextResponse) XXX_DiscardUnknown added in v0.15.0

func (m *ContextResponse) XXX_DiscardUnknown()

func (*ContextResponse) XXX_Marshal added in v0.15.0

func (m *ContextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContextResponse) XXX_Merge added in v0.15.0

func (dst *ContextResponse) XXX_Merge(src proto.Message)

func (*ContextResponse) XXX_Size added in v0.15.0

func (m *ContextResponse) XXX_Size() int

func (*ContextResponse) XXX_Unmarshal added in v0.15.0

func (m *ContextResponse) XXX_Unmarshal(b []byte) error

type DeleteRequest

type DeleteRequest struct {
	AccessToken          string               `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	ExpireAtFrom         *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_at_from,json=expireAtFrom,proto3" json:"expire_at_from,omitempty"`
	ExpireAtTo           *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expire_at_to,json=expireAtTo,proto3" json:"expire_at_to,omitempty"`
	RefreshToken         string               `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	SubjectId            string               `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetAccessToken

func (m *DeleteRequest) GetAccessToken() string

func (*DeleteRequest) GetExpireAtFrom

func (m *DeleteRequest) GetExpireAtFrom() *timestamp.Timestamp

func (*DeleteRequest) GetExpireAtTo

func (m *DeleteRequest) GetExpireAtTo() *timestamp.Timestamp

func (*DeleteRequest) GetRefreshToken added in v0.8.4

func (m *DeleteRequest) GetRefreshToken() string

func (*DeleteRequest) GetSubjectId added in v0.8.4

func (m *DeleteRequest) GetSubjectId() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

func (*DeleteRequest) XXX_DiscardUnknown added in v0.15.0

func (m *DeleteRequest) XXX_DiscardUnknown()

func (*DeleteRequest) XXX_Marshal added in v0.15.0

func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteRequest) XXX_Merge added in v0.15.0

func (dst *DeleteRequest) XXX_Merge(src proto.Message)

func (*DeleteRequest) XXX_Size added in v0.15.0

func (m *DeleteRequest) XXX_Size() int

func (*DeleteRequest) XXX_Unmarshal added in v0.15.0

func (m *DeleteRequest) XXX_Unmarshal(b []byte) error

type ExistsRequest

type ExistsRequest struct {
	AccessToken          string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExistsRequest) Descriptor

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

func (*ExistsRequest) GetAccessToken

func (m *ExistsRequest) GetAccessToken() string

func (*ExistsRequest) ProtoMessage

func (*ExistsRequest) ProtoMessage()

func (*ExistsRequest) Reset

func (m *ExistsRequest) Reset()

func (*ExistsRequest) String

func (m *ExistsRequest) String() string

func (*ExistsRequest) XXX_DiscardUnknown added in v0.15.0

func (m *ExistsRequest) XXX_DiscardUnknown()

func (*ExistsRequest) XXX_Marshal added in v0.15.0

func (m *ExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExistsRequest) XXX_Merge added in v0.15.0

func (dst *ExistsRequest) XXX_Merge(src proto.Message)

func (*ExistsRequest) XXX_Size added in v0.15.0

func (m *ExistsRequest) XXX_Size() int

func (*ExistsRequest) XXX_Unmarshal added in v0.15.0

func (m *ExistsRequest) XXX_Unmarshal(b []byte) error

type GetRequest

type GetRequest struct {
	AccessToken          string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetRequest) Descriptor

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

func (*GetRequest) GetAccessToken

func (m *GetRequest) GetAccessToken() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) Reset

func (m *GetRequest) Reset()

func (*GetRequest) String

func (m *GetRequest) String() string

func (*GetRequest) XXX_DiscardUnknown added in v0.15.0

func (m *GetRequest) XXX_DiscardUnknown()

func (*GetRequest) XXX_Marshal added in v0.15.0

func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetRequest) XXX_Merge added in v0.15.0

func (dst *GetRequest) XXX_Merge(src proto.Message)

func (*GetRequest) XXX_Size added in v0.15.0

func (m *GetRequest) XXX_Size() int

func (*GetRequest) XXX_Unmarshal added in v0.15.0

func (m *GetRequest) XXX_Unmarshal(b []byte) error

type GetResponse

type GetResponse struct {
	Session              *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetResponse) Descriptor

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

func (*GetResponse) GetSession

func (m *GetResponse) GetSession() *Session

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) Reset

func (m *GetResponse) Reset()

func (*GetResponse) String

func (m *GetResponse) String() string

func (*GetResponse) XXX_DiscardUnknown added in v0.15.0

func (m *GetResponse) XXX_DiscardUnknown()

func (*GetResponse) XXX_Marshal added in v0.15.0

func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetResponse) XXX_Merge added in v0.15.0

func (dst *GetResponse) XXX_Merge(src proto.Message)

func (*GetResponse) XXX_Size added in v0.15.0

func (m *GetResponse) XXX_Size() int

func (*GetResponse) XXX_Unmarshal added in v0.15.0

func (m *GetResponse) XXX_Unmarshal(b []byte) error

type ListRequest

type ListRequest struct {
	// Offset tells how many sessions should be skipped.
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	// Limit tells how many entries shuld be returned.
	// By default it's 10.
	Limit                int64    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Query                *Query   `protobuf:"bytes,11,opt,name=query,proto3" json:"query,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListRequest) Descriptor

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

func (*ListRequest) GetLimit added in v0.8.4

func (m *ListRequest) GetLimit() int64

func (*ListRequest) GetOffset added in v0.8.4

func (m *ListRequest) GetOffset() int64

func (*ListRequest) GetQuery added in v0.14.0

func (m *ListRequest) GetQuery() *Query

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) Reset

func (m *ListRequest) Reset()

func (*ListRequest) String

func (m *ListRequest) String() string

func (*ListRequest) XXX_DiscardUnknown added in v0.15.0

func (m *ListRequest) XXX_DiscardUnknown()

func (*ListRequest) XXX_Marshal added in v0.15.0

func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListRequest) XXX_Merge added in v0.15.0

func (dst *ListRequest) XXX_Merge(src proto.Message)

func (*ListRequest) XXX_Size added in v0.15.0

func (m *ListRequest) XXX_Size() int

func (*ListRequest) XXX_Unmarshal added in v0.15.0

func (m *ListRequest) XXX_Unmarshal(b []byte) error

type ListResponse

type ListResponse struct {
	Sessions             []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListResponse) Descriptor

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

func (*ListResponse) GetSessions

func (m *ListResponse) GetSessions() []*Session

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown added in v0.15.0

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal added in v0.15.0

func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListResponse) XXX_Merge added in v0.15.0

func (dst *ListResponse) XXX_Merge(src proto.Message)

func (*ListResponse) XXX_Size added in v0.15.0

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal added in v0.15.0

func (m *ListResponse) XXX_Unmarshal(b []byte) error

type Query added in v0.14.0

type Query struct {
	ExpireAtFrom         *timestamp.Timestamp `protobuf:"bytes,1,opt,name=expire_at_from,json=expireAtFrom,proto3" json:"expire_at_from,omitempty"`
	ExpireAtTo           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_at_to,json=expireAtTo,proto3" json:"expire_at_to,omitempty"`
	RefreshToken         string               `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Query) Descriptor added in v0.14.0

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

func (*Query) GetExpireAtFrom added in v0.14.0

func (m *Query) GetExpireAtFrom() *timestamp.Timestamp

func (*Query) GetExpireAtTo added in v0.14.0

func (m *Query) GetExpireAtTo() *timestamp.Timestamp

func (*Query) GetRefreshToken added in v0.14.0

func (m *Query) GetRefreshToken() string

func (*Query) ProtoMessage added in v0.14.0

func (*Query) ProtoMessage()

func (*Query) Reset added in v0.14.0

func (m *Query) Reset()

func (*Query) String added in v0.14.0

func (m *Query) String() string

func (*Query) XXX_DiscardUnknown added in v0.15.0

func (m *Query) XXX_DiscardUnknown()

func (*Query) XXX_Marshal added in v0.15.0

func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Query) XXX_Merge added in v0.15.0

func (dst *Query) XXX_Merge(src proto.Message)

func (*Query) XXX_Size added in v0.15.0

func (m *Query) XXX_Size() int

func (*Query) XXX_Unmarshal added in v0.15.0

func (m *Query) XXX_Unmarshal(b []byte) error

type Session

type Session struct {
	AccessToken          string               `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	SubjectId            string               `protobuf:"bytes,2,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	SubjectClient        string               `protobuf:"bytes,3,opt,name=subject_client,json=subjectClient,proto3" json:"subject_client,omitempty"`
	Bag                  map[string]string    `` /* 147-byte string literal not displayed */
	ExpireAt             *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expire_at,json=expireAt,proto3" json:"expire_at,omitempty"`
	RefreshToken         string               `protobuf:"bytes,6,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Session) Descriptor

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

func (*Session) GetAccessToken

func (m *Session) GetAccessToken() string

func (*Session) GetBag

func (m *Session) GetBag() map[string]string

func (*Session) GetExpireAt

func (m *Session) GetExpireAt() *timestamp.Timestamp

func (*Session) GetRefreshToken added in v0.8.4

func (m *Session) GetRefreshToken() string

func (*Session) GetSubjectClient added in v0.8.4

func (m *Session) GetSubjectClient() string

func (*Session) GetSubjectId added in v0.8.4

func (m *Session) GetSubjectId() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) Reset

func (m *Session) Reset()

func (*Session) String

func (m *Session) String() string

func (*Session) Token

func (s *Session) Token() (*oauth2.Token, error)

Token implements oauth2.TokenSource interface.

func (*Session) XXX_DiscardUnknown added in v0.15.0

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal added in v0.15.0

func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Session) XXX_Merge added in v0.15.0

func (dst *Session) XXX_Merge(src proto.Message)

func (*Session) XXX_Size added in v0.15.0

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal added in v0.15.0

func (m *Session) XXX_Unmarshal(b []byte) error

type SessionManagerClient added in v0.2.0

type SessionManagerClient interface {
	// Get retrieves session for given access token.
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// Context works like Get but takes access token from metadata within context.
	// It expects "authorization" key to be present within metadata.
	Context(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ContextResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	Exists(ctx context.Context, in *ExistsRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error)
	Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
	Abandon(ctx context.Context, in *AbandonRequest, opts ...grpc.CallOption) (*wrappers.BoolValue, error)
	SetValue(ctx context.Context, in *SetValueRequest, opts ...grpc.CallOption) (*SetValueResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*wrappers.Int64Value, error)
}

SessionManagerClient is the client API for SessionManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSessionManagerClient added in v0.2.0

func NewSessionManagerClient(cc *grpc.ClientConn) SessionManagerClient

type SessionManagerServer added in v0.2.0

type SessionManagerServer interface {
	// Get retrieves session for given access token.
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// Context works like Get but takes access token from metadata within context.
	// It expects "authorization" key to be present within metadata.
	Context(context.Context, *empty.Empty) (*ContextResponse, error)
	List(context.Context, *ListRequest) (*ListResponse, error)
	Exists(context.Context, *ExistsRequest) (*wrappers.BoolValue, error)
	Start(context.Context, *StartRequest) (*StartResponse, error)
	Abandon(context.Context, *AbandonRequest) (*wrappers.BoolValue, error)
	SetValue(context.Context, *SetValueRequest) (*SetValueResponse, error)
	Delete(context.Context, *DeleteRequest) (*wrappers.Int64Value, error)
}

SessionManagerServer is the server API for SessionManager service.

type SetValueRequest

type SetValueRequest struct {
	AccessToken          string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Key                  string   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetValueRequest) Descriptor

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

func (*SetValueRequest) GetAccessToken

func (m *SetValueRequest) GetAccessToken() string

func (*SetValueRequest) GetKey added in v0.8.4

func (m *SetValueRequest) GetKey() string

func (*SetValueRequest) GetValue added in v0.8.4

func (m *SetValueRequest) GetValue() string

func (*SetValueRequest) ProtoMessage

func (*SetValueRequest) ProtoMessage()

func (*SetValueRequest) Reset

func (m *SetValueRequest) Reset()

func (*SetValueRequest) String

func (m *SetValueRequest) String() string

func (*SetValueRequest) XXX_DiscardUnknown added in v0.15.0

func (m *SetValueRequest) XXX_DiscardUnknown()

func (*SetValueRequest) XXX_Marshal added in v0.15.0

func (m *SetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetValueRequest) XXX_Merge added in v0.15.0

func (dst *SetValueRequest) XXX_Merge(src proto.Message)

func (*SetValueRequest) XXX_Size added in v0.15.0

func (m *SetValueRequest) XXX_Size() int

func (*SetValueRequest) XXX_Unmarshal added in v0.15.0

func (m *SetValueRequest) XXX_Unmarshal(b []byte) error

type SetValueResponse

type SetValueResponse struct {
	Bag                  map[string]string `` /* 147-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SetValueResponse) Descriptor

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

func (*SetValueResponse) GetBag

func (m *SetValueResponse) GetBag() map[string]string

func (*SetValueResponse) ProtoMessage

func (*SetValueResponse) ProtoMessage()

func (*SetValueResponse) Reset

func (m *SetValueResponse) Reset()

func (*SetValueResponse) String

func (m *SetValueResponse) String() string

func (*SetValueResponse) XXX_DiscardUnknown added in v0.15.0

func (m *SetValueResponse) XXX_DiscardUnknown()

func (*SetValueResponse) XXX_Marshal added in v0.15.0

func (m *SetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetValueResponse) XXX_Merge added in v0.15.0

func (dst *SetValueResponse) XXX_Merge(src proto.Message)

func (*SetValueResponse) XXX_Size added in v0.15.0

func (m *SetValueResponse) XXX_Size() int

func (*SetValueResponse) XXX_Unmarshal added in v0.15.0

func (m *SetValueResponse) XXX_Unmarshal(b []byte) error

type StartRequest

type StartRequest struct {
	Session              *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRequest) Descriptor

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

func (*StartRequest) GetSession added in v0.5.0

func (m *StartRequest) GetSession() *Session

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) Reset

func (m *StartRequest) Reset()

func (*StartRequest) String

func (m *StartRequest) String() string

func (*StartRequest) XXX_DiscardUnknown added in v0.15.0

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal added in v0.15.0

func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest) XXX_Merge added in v0.15.0

func (dst *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size added in v0.15.0

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal added in v0.15.0

func (m *StartRequest) XXX_Unmarshal(b []byte) error

type StartResponse

type StartResponse struct {
	Session              *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartResponse) Descriptor

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

func (*StartResponse) GetSession

func (m *StartResponse) GetSession() *Session

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) Reset

func (m *StartResponse) Reset()

func (*StartResponse) String

func (m *StartResponse) String() string

func (*StartResponse) XXX_DiscardUnknown added in v0.15.0

func (m *StartResponse) XXX_DiscardUnknown()

func (*StartResponse) XXX_Marshal added in v0.15.0

func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResponse) XXX_Merge added in v0.15.0

func (dst *StartResponse) XXX_Merge(src proto.Message)

func (*StartResponse) XXX_Size added in v0.15.0

func (m *StartResponse) XXX_Size() int

func (*StartResponse) XXX_Unmarshal added in v0.15.0

func (m *StartResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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