You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
206 B
Go

package wire
4 years ago
type OK struct{}
func (OK) NetTag() string { return "ok" }
func (OK) MarshalJSON() ([]byte, error) { return []byte(`"ok"`), nil }
4 years ago
func init() {
Register(func() Value { return new(OK) })
}