tarus_driver

package
v0.0.0-...-5379b69 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(fac *Registration)

Types

type Driver

type Driver interface {
	CreateJudgeRequest(ctx context.Context) (*tarus.MakeJudgeRequest, error)
}

type InitContext

type InitContext struct {
	Arguments map[string]string
}

type Registration

type Registration struct {
	Id   string
	Init func(args *InitContext) (Driver, error)
}

func FindById

func FindById(id string) (r []*Registration, _ error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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