Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortEnvironmentVariable = "PORT" UserDataEnvironmentVariable = "USER_DATA" GrpcUrlEnvironmentVariable = "GRPC_URL" LavaChainIDEnvironmentVariable = "CHAIN_ID" )
View Source
const DefaultProjectId = "default"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BadgeStateTracker ¶
type BadgeStateTracker struct { *statetracker.StateTracker // contains filtered or unexported fields }
func NewBadgeStateTracker ¶
func NewBadgeStateTracker(ctx context.Context, clientCtx cosmosclient.Context, chainFetcher chaintracker.ChainFetcher, chainId string) (ret *BadgeStateTracker, err error)
func (*BadgeStateTracker) RegisterForEpochUpdates ¶
func (st *BadgeStateTracker) RegisterForEpochUpdates(ctx context.Context, epochUpdatable statetracker.EpochUpdatable)
type HealthServer ¶
type HealthServer struct {
health.UnimplementedHealthServer
}
func (*HealthServer) Check ¶
func (s *HealthServer) Check(ctx context.Context, in *health.HealthCheckRequest) (*health.HealthCheckResponse, error)
func (*HealthServer) Watch ¶
func (s *HealthServer) Watch(in *health.HealthCheckRequest, _ health.Health_WatchServer) error
type ProjectConfiguration ¶
type Server ¶
type Server struct { pairingtypes.UnimplementedBadgeGeneratorServer ProjectsConfiguration map[string]*ProjectConfiguration // project_id/project_data ChainId string // contains filtered or unexported fields }
func (*Server) GenerateBadge ¶
func (s *Server) GenerateBadge(ctx context.Context, req *pairingtypes.GenerateBadgeRequest) (*pairingtypes.GenerateBadgeResponse, error)
func (*Server) UpdateEpoch ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.