pb

package
v0.0.0-...-35be007 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ability_name = map[int32]string{
	0: "health_regen",
	1: "max_health",
	2: "body_damage",
	3: "bullet_speed",
	4: "bullet_penetration",
	5: "bullet_damage",
	6: "bullet_reload",
	7: "movement_speed",
}
View Source
var Ability_value = map[string]int32{
	"health_regen":       0,
	"max_health":         1,
	"body_damage":        2,
	"bullet_speed":       3,
	"bullet_penetration": 4,
	"bullet_damage":      5,
	"bullet_reload":      6,
	"movement_speed":     7,
}

Functions

func RegisterTheGameServer

func RegisterTheGameServer(s *grpc.Server, srv TheGameServer)

Types

type Ability

type Ability int32
const (
	Ability_health_regen       Ability = 0
	Ability_max_health         Ability = 1
	Ability_body_damage        Ability = 2
	Ability_bullet_speed       Ability = 3
	Ability_bullet_penetration Ability = 4
	Ability_bullet_damage      Ability = 5
	Ability_bullet_reload      Ability = 6
	Ability_movement_speed     Ability = 7
)

func (Ability) EnumDescriptor

func (Ability) EnumDescriptor() ([]byte, []int)

func (Ability) String

func (x Ability) String() string

type Bullet

type Bullet struct {
	Entity               *Entity  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Owner                int32    `protobuf:"varint,2,opt,name=owner,proto3" json:"owner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Bullet) Descriptor

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

func (*Bullet) GetEntity

func (m *Bullet) GetEntity() *Entity

func (*Bullet) GetOwner

func (m *Bullet) GetOwner() int32

func (*Bullet) ProtoMessage

func (*Bullet) ProtoMessage()

func (*Bullet) Reset

func (m *Bullet) Reset()

func (*Bullet) String

func (m *Bullet) String() string

func (*Bullet) XXX_DiscardUnknown

func (m *Bullet) XXX_DiscardUnknown()

func (*Bullet) XXX_Marshal

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

func (*Bullet) XXX_Merge

func (m *Bullet) XXX_Merge(src proto.Message)

func (*Bullet) XXX_Size

func (m *Bullet) XXX_Size() int

func (*Bullet) XXX_Unmarshal

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

type Command

type Command struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Resume               bool     `protobuf:"varint,2,opt,name=resume,proto3" json:"resume,omitempty"`
	Pause                bool     `protobuf:"varint,3,opt,name=pause,proto3" json:"pause,omitempty"`
	Tick                 bool     `protobuf:"varint,4,opt,name=tick,proto3" json:"tick,omitempty"`
	GameReset            bool     `protobuf:"varint,5,opt,name=game_reset,json=gameReset,proto3" json:"game_reset,omitempty"`
	WaitForControls      bool     `protobuf:"varint,6,opt,name=wait_for_controls,json=waitForControls,proto3" json:"wait_for_controls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Command) Descriptor

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

func (*Command) GetGameReset

func (m *Command) GetGameReset() bool

func (*Command) GetPause

func (m *Command) GetPause() bool

func (*Command) GetResume

func (m *Command) GetResume() bool

func (*Command) GetTick

func (m *Command) GetTick() bool

func (*Command) GetToken

func (m *Command) GetToken() string

func (*Command) GetWaitForControls

func (m *Command) GetWaitForControls() bool

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) Reset

func (m *Command) Reset()

func (*Command) String

func (m *Command) String() string

func (*Command) XXX_DiscardUnknown

func (m *Command) XXX_DiscardUnknown()

func (*Command) XXX_Marshal

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

func (*Command) XXX_Merge

func (m *Command) XXX_Merge(src proto.Message)

func (*Command) XXX_Size

func (m *Command) XXX_Size() int

func (*Command) XXX_Unmarshal

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

type CommandResponse

type CommandResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CommandResponse) Descriptor

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

func (*CommandResponse) ProtoMessage

func (*CommandResponse) ProtoMessage()

func (*CommandResponse) Reset

func (m *CommandResponse) Reset()

func (*CommandResponse) String

func (m *CommandResponse) String() string

func (*CommandResponse) XXX_DiscardUnknown

func (m *CommandResponse) XXX_DiscardUnknown()

func (*CommandResponse) XXX_Marshal

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

func (*CommandResponse) XXX_Merge

func (m *CommandResponse) XXX_Merge(src proto.Message)

func (*CommandResponse) XXX_Size

func (m *CommandResponse) XXX_Size() int

func (*CommandResponse) XXX_Unmarshal

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

type Controls

type Controls struct {
	Accelerate            bool      `protobuf:"varint,1,opt,name=accelerate,proto3" json:"accelerate,omitempty"`
	AccelerationDirection float64   `` /* 126-byte string literal not displayed */
	Shoot                 bool      `protobuf:"varint,3,opt,name=shoot,proto3" json:"shoot,omitempty"`
	ShootDirection        float64   `protobuf:"fixed64,4,opt,name=shoot_direction,json=shootDirection,proto3" json:"shoot_direction,omitempty"`
	LevelUp               []Ability `protobuf:"varint,5,rep,packed,name=level_up,json=levelUp,proto3,enum=Ability" json:"level_up,omitempty"`
	Name                  string    `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}  `json:"-"`
	XXX_unrecognized      []byte    `json:"-"`
	XXX_sizecache         int32     `json:"-"`
}

func (*Controls) Descriptor

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

func (*Controls) GetAccelerate

func (m *Controls) GetAccelerate() bool

func (*Controls) GetAccelerationDirection

func (m *Controls) GetAccelerationDirection() float64

func (*Controls) GetLevelUp

func (m *Controls) GetLevelUp() []Ability

func (*Controls) GetName

func (m *Controls) GetName() string

func (*Controls) GetShoot

func (m *Controls) GetShoot() bool

func (*Controls) GetShootDirection

func (m *Controls) GetShootDirection() float64

func (*Controls) ProtoMessage

func (*Controls) ProtoMessage()

func (*Controls) Reset

func (m *Controls) Reset()

func (*Controls) String

func (m *Controls) String() string

func (*Controls) XXX_DiscardUnknown

func (m *Controls) XXX_DiscardUnknown()

func (*Controls) XXX_Marshal

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

func (*Controls) XXX_Merge

func (m *Controls) XXX_Merge(src proto.Message)

func (*Controls) XXX_Size

func (m *Controls) XXX_Size() int

func (*Controls) XXX_Unmarshal

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

type Entity

type Entity struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Position             *Vector  `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	Radius               float64  `protobuf:"fixed64,3,opt,name=radius,proto3" json:"radius,omitempty"`
	Velocity             *Vector  `protobuf:"bytes,4,opt,name=velocity,proto3" json:"velocity,omitempty"`
	Health               int32    `protobuf:"varint,5,opt,name=health,proto3" json:"health,omitempty"`
	BodyDamage           int32    `protobuf:"varint,6,opt,name=body_damage,json=bodyDamage,proto3" json:"body_damage,omitempty"`
	RewardingExperience  int32    `protobuf:"varint,7,opt,name=rewarding_experience,json=rewardingExperience,proto3" json:"rewarding_experience,omitempty"`
	MaxHealth            int32    `protobuf:"varint,8,opt,name=max_health,json=maxHealth,proto3" json:"max_health,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Entity) Descriptor

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

func (*Entity) GetBodyDamage

func (m *Entity) GetBodyDamage() int32

func (*Entity) GetHealth

func (m *Entity) GetHealth() int32

func (*Entity) GetId

func (m *Entity) GetId() int32

func (*Entity) GetMaxHealth

func (m *Entity) GetMaxHealth() int32

func (*Entity) GetPosition

func (m *Entity) GetPosition() *Vector

func (*Entity) GetRadius

func (m *Entity) GetRadius() float64

func (*Entity) GetRewardingExperience

func (m *Entity) GetRewardingExperience() int32

func (*Entity) GetVelocity

func (m *Entity) GetVelocity() *Vector

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) String

func (m *Entity) String() string

func (*Entity) XXX_DiscardUnknown

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal

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

func (*Entity) XXX_Merge

func (m *Entity) XXX_Merge(src proto.Message)

func (*Entity) XXX_Size

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal

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

type GameState

type GameState struct {
	Meta                 *GameState_Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Polygons             []*Polygon      `protobuf:"bytes,2,rep,name=polygons,proto3" json:"polygons,omitempty"`
	Bullets              []*Bullet       `protobuf:"bytes,3,rep,name=bullets,proto3" json:"bullets,omitempty"`
	Heroes               []*Hero         `protobuf:"bytes,4,rep,name=heroes,proto3" json:"heroes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GameState) Descriptor

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

func (*GameState) GetBullets

func (m *GameState) GetBullets() []*Bullet

func (*GameState) GetHeroes

func (m *GameState) GetHeroes() []*Hero

func (*GameState) GetMeta

func (m *GameState) GetMeta() *GameState_Meta

func (*GameState) GetPolygons

func (m *GameState) GetPolygons() []*Polygon

func (*GameState) ProtoMessage

func (*GameState) ProtoMessage()

func (*GameState) Reset

func (m *GameState) Reset()

func (*GameState) String

func (m *GameState) String() string

func (*GameState) XXX_DiscardUnknown

func (m *GameState) XXX_DiscardUnknown()

func (*GameState) XXX_Marshal

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

func (*GameState) XXX_Merge

func (m *GameState) XXX_Merge(src proto.Message)

func (*GameState) XXX_Size

func (m *GameState) XXX_Size() int

func (*GameState) XXX_Unmarshal

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

type GameState_Meta

type GameState_Meta struct {
	HeroId               int32         `protobuf:"varint,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"`
	CenterPosition       *Vector       `protobuf:"bytes,5,opt,name=center_position,json=centerPosition,proto3" json:"center_position,omitempty"`
	Scores               []*ScoreEntry `protobuf:"bytes,4,rep,name=scores,proto3" json:"scores,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*GameState_Meta) Descriptor

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

func (*GameState_Meta) GetCenterPosition

func (m *GameState_Meta) GetCenterPosition() *Vector

func (*GameState_Meta) GetHeroId

func (m *GameState_Meta) GetHeroId() int32

func (*GameState_Meta) GetScores

func (m *GameState_Meta) GetScores() []*ScoreEntry

func (*GameState_Meta) ProtoMessage

func (*GameState_Meta) ProtoMessage()

func (*GameState_Meta) Reset

func (m *GameState_Meta) Reset()

func (*GameState_Meta) String

func (m *GameState_Meta) String() string

func (*GameState_Meta) XXX_DiscardUnknown

func (m *GameState_Meta) XXX_DiscardUnknown()

func (*GameState_Meta) XXX_Marshal

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

func (*GameState_Meta) XXX_Merge

func (m *GameState_Meta) XXX_Merge(src proto.Message)

func (*GameState_Meta) XXX_Size

func (m *GameState_Meta) XXX_Size() int

func (*GameState_Meta) XXX_Unmarshal

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

type Hero

type Hero struct {
	Entity               *Entity  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	AbilityLevels        []int32  `protobuf:"varint,2,rep,packed,name=ability_levels,json=abilityLevels,proto3" json:"ability_levels,omitempty"`
	AbilityValues        []int32  `protobuf:"varint,3,rep,packed,name=ability_values,json=abilityValues,proto3" json:"ability_values,omitempty"`
	SkillPoints          int32    `protobuf:"varint,4,opt,name=skill_points,json=skillPoints,proto3" json:"skill_points,omitempty"`
	Orientation          float64  `protobuf:"fixed64,5,opt,name=orientation,proto3" json:"orientation,omitempty"`
	Level                int32    `protobuf:"varint,6,opt,name=level,proto3" json:"level,omitempty"`
	Score                int32    `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"`
	Experience           int32    `protobuf:"varint,8,opt,name=experience,proto3" json:"experience,omitempty"`
	ExperienceToLevelUp  int32    `protobuf:"varint,9,opt,name=experience_to_level_up,json=experienceToLevelUp,proto3" json:"experience_to_level_up,omitempty"`
	Cooldown             int32    `protobuf:"varint,10,opt,name=cooldown,proto3" json:"cooldown,omitempty"`
	HealthRegenCooldown  int32    `protobuf:"varint,11,opt,name=health_regen_cooldown,json=healthRegenCooldown,proto3" json:"health_regen_cooldown,omitempty"`
	Name                 string   `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Hero) Descriptor

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

func (*Hero) GetAbilityLevels

func (m *Hero) GetAbilityLevels() []int32

func (*Hero) GetAbilityValues

func (m *Hero) GetAbilityValues() []int32

func (*Hero) GetCooldown

func (m *Hero) GetCooldown() int32

func (*Hero) GetEntity

func (m *Hero) GetEntity() *Entity

func (*Hero) GetExperience

func (m *Hero) GetExperience() int32

func (*Hero) GetExperienceToLevelUp

func (m *Hero) GetExperienceToLevelUp() int32

func (*Hero) GetHealthRegenCooldown

func (m *Hero) GetHealthRegenCooldown() int32

func (*Hero) GetLevel

func (m *Hero) GetLevel() int32

func (*Hero) GetName

func (m *Hero) GetName() string

func (*Hero) GetOrientation

func (m *Hero) GetOrientation() float64

func (*Hero) GetScore

func (m *Hero) GetScore() int32

func (*Hero) GetSkillPoints

func (m *Hero) GetSkillPoints() int32

func (*Hero) ProtoMessage

func (*Hero) ProtoMessage()

func (*Hero) Reset

func (m *Hero) Reset()

func (*Hero) String

func (m *Hero) String() string

func (*Hero) XXX_DiscardUnknown

func (m *Hero) XXX_DiscardUnknown()

func (*Hero) XXX_Marshal

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

func (*Hero) XXX_Merge

func (m *Hero) XXX_Merge(src proto.Message)

func (*Hero) XXX_Size

func (m *Hero) XXX_Size() int

func (*Hero) XXX_Unmarshal

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

type Polygon

type Polygon struct {
	Entity               *Entity  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Edges                int32    `protobuf:"varint,2,opt,name=edges,proto3" json:"edges,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Polygon) Descriptor

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

func (*Polygon) GetEdges

func (m *Polygon) GetEdges() int32

func (*Polygon) GetEntity

func (m *Polygon) GetEntity() *Entity

func (*Polygon) ProtoMessage

func (*Polygon) ProtoMessage()

func (*Polygon) Reset

func (m *Polygon) Reset()

func (*Polygon) String

func (m *Polygon) String() string

func (*Polygon) XXX_DiscardUnknown

func (m *Polygon) XXX_DiscardUnknown()

func (*Polygon) XXX_Marshal

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

func (*Polygon) XXX_Merge

func (m *Polygon) XXX_Merge(src proto.Message)

func (*Polygon) XXX_Size

func (m *Polygon) XXX_Size() int

func (*Polygon) XXX_Unmarshal

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

type ScoreEntry

type ScoreEntry struct {
	HeroId               int32    `protobuf:"varint,1,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"`
	HeroName             string   `protobuf:"bytes,2,opt,name=hero_name,json=heroName,proto3" json:"hero_name,omitempty"`
	Score                int32    `protobuf:"varint,3,opt,name=score,proto3" json:"score,omitempty"`
	Level                int32    `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ScoreEntry) Descriptor

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

func (*ScoreEntry) GetHeroId

func (m *ScoreEntry) GetHeroId() int32

func (*ScoreEntry) GetHeroName

func (m *ScoreEntry) GetHeroName() string

func (*ScoreEntry) GetLevel

func (m *ScoreEntry) GetLevel() int32

func (*ScoreEntry) GetScore

func (m *ScoreEntry) GetScore() int32

func (*ScoreEntry) ProtoMessage

func (*ScoreEntry) ProtoMessage()

func (*ScoreEntry) Reset

func (m *ScoreEntry) Reset()

func (*ScoreEntry) String

func (m *ScoreEntry) String() string

func (*ScoreEntry) XXX_DiscardUnknown

func (m *ScoreEntry) XXX_DiscardUnknown()

func (*ScoreEntry) XXX_Marshal

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

func (*ScoreEntry) XXX_Merge

func (m *ScoreEntry) XXX_Merge(src proto.Message)

func (*ScoreEntry) XXX_Size

func (m *ScoreEntry) XXX_Size() int

func (*ScoreEntry) XXX_Unmarshal

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

type TheGameClient

type TheGameClient interface {
	Game(ctx context.Context, opts ...grpc.CallOption) (TheGame_GameClient, error)
	View(ctx context.Context, in *ViewRequest, opts ...grpc.CallOption) (TheGame_ViewClient, error)
	Admin(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResponse, error)
}

TheGameClient is the client API for TheGame service.

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

func NewTheGameClient

func NewTheGameClient(cc *grpc.ClientConn) TheGameClient

type TheGameServer

type TheGameServer interface {
	Game(TheGame_GameServer) error
	View(*ViewRequest, TheGame_ViewServer) error
	Admin(context.Context, *Command) (*CommandResponse, error)
}

TheGameServer is the server API for TheGame service.

type TheGame_GameClient

type TheGame_GameClient interface {
	Send(*Controls) error
	Recv() (*GameState, error)
	grpc.ClientStream
}

type TheGame_GameServer

type TheGame_GameServer interface {
	Send(*GameState) error
	Recv() (*Controls, error)
	grpc.ServerStream
}

type TheGame_ViewClient

type TheGame_ViewClient interface {
	Recv() (*GameState, error)
	grpc.ClientStream
}

type TheGame_ViewServer

type TheGame_ViewServer interface {
	Send(*GameState) error
	grpc.ServerStream
}

type Vector

type Vector struct {
	X                    float64  `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y                    float64  `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Vector) Descriptor

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

func (*Vector) GetX

func (m *Vector) GetX() float64

func (*Vector) GetY

func (m *Vector) GetY() float64

func (*Vector) ProtoMessage

func (*Vector) ProtoMessage()

func (*Vector) Reset

func (m *Vector) Reset()

func (*Vector) String

func (m *Vector) String() string

func (*Vector) XXX_DiscardUnknown

func (m *Vector) XXX_DiscardUnknown()

func (*Vector) XXX_Marshal

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

func (*Vector) XXX_Merge

func (m *Vector) XXX_Merge(src proto.Message)

func (*Vector) XXX_Size

func (m *Vector) XXX_Size() int

func (*Vector) XXX_Unmarshal

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

type ViewRequest

type ViewRequest struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ViewRequest) Descriptor

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

func (*ViewRequest) GetToken

func (m *ViewRequest) GetToken() string

func (*ViewRequest) ProtoMessage

func (*ViewRequest) ProtoMessage()

func (*ViewRequest) Reset

func (m *ViewRequest) Reset()

func (*ViewRequest) String

func (m *ViewRequest) String() string

func (*ViewRequest) XXX_DiscardUnknown

func (m *ViewRequest) XXX_DiscardUnknown()

func (*ViewRequest) XXX_Marshal

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

func (*ViewRequest) XXX_Merge

func (m *ViewRequest) XXX_Merge(src proto.Message)

func (*ViewRequest) XXX_Size

func (m *ViewRequest) XXX_Size() int

func (*ViewRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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