Documentation
¶
Overview ¶
Package workapi is the engine's API for ideas, pursuits and evidence: twelve methods, typed once, each change one command with its event.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Methods ¶
func Methods(name func(ctx context.Context, dir string) string) func(get func(ctx context.Context, repo string) (*state.State, error)) []api.Method
Methods returns what the engine calls with its state opener to get the twelve methods. name names who adds an idea when idea.add leaves the person out: the person running Physa on this machine, named as the CLI names them; "" when no name can be had.
func PersonOnly ¶
PersonOnly reports whether method is one only a person may call: a pursuit is started and stopped by people (people-pursue).
func StateOptions ¶
StateOptions registers the evidence poll and its retention in every repo's state, with GitHub as the forge, for the engine to run with.
Types ¶
This section is empty.