masterShard

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package masterShard シャード

Package masterShard シャード

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type MasterShard

type MasterShard struct {
	MasterShardId int64
	Name          string
	ShardKey      string
	Count         int32
}

func NewMasterShard

func NewMasterShard() *MasterShard

func SetMasterShard

func SetMasterShard(masterShardId int64, name string, shardKey string, count int32) *MasterShard

func (*MasterShard) TableName

func (t *MasterShard) TableName() string

type MasterShards

type MasterShards []*MasterShard

func NewMasterShards

func NewMasterShards() MasterShards

Jump to

Keyboard shortcuts

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