1
0
Fork 0
forked from External/ergo

Add tests to subpackages

This commit is contained in:
Daniel Oaks 2017-10-07 22:19:37 +10:00
parent 10949a434a
commit 378d55af65
7 changed files with 227 additions and 17 deletions

View file

@ -49,3 +49,13 @@ const (
func (capability Capability) Name() string {
return string(capability)
}
// Version is used to select which max version of CAP the client supports.
type Version uint
const (
// Cap301 refers to the base CAP spec.
Cap301 Version = 301
// Cap302 refers to the IRCv3.2 CAP spec.
Cap302 Version = 302
)